THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 09/04/2010 at 07:59, xxxxxxxx wrote:
Howdy,
Thanks Matthias.
Something else I discovered:
When installing the libiconv port using MacPorts, if I add "+universal" to the command like this:
sudo port install libiconv +universal
... then it installs a universal binary version of libiconv
But, on my core 2 quad machine running Snow Leopard, it only installs it for i386 & x86_64.:
/opt/local/lib/libiconv.2.dylib: Mach-O universal binary with 2 architectures
/opt/local/lib/libiconv.2.dylib (for architecture i386) : Mach-O dynamically linked shared library i386
/opt/local/lib/libiconv.2.dylib (for architecture x86_64) : Mach-O 64-bit dynamically linked shared library x86_64
... and on my core duo machine running Leopard it only installs it for ppc & i386:
/opt/local/lib/libiconv.2.dylib: Mach-O universal binary with 2 architectures
/opt/local/lib/libiconv.2.dylib (for architecture ppc7400) : Mach-O dynamically linked shared library ppc
/opt/local/lib/libiconv.2.dylib (for architecture i386) : Mach-O dynamically linked shared library i386
What I really need is an install for ppc, i386, ppc64 & x86_64, but I haven't found a way to get that yet.
The reason I've installed it from MacPorts (even though the libiconv.2.dylib is in the MacOS sdks) is that to get my plugin to compile in R10 and above, I used the "libiconv.a" static library from the MacPorts installation, since I couldn't figure out the right framework to include or build setting in the project to get it to compile without the link errors.
Adios,
Cactus Dan