Build problem when cross compiling under Mac OSX 10.5
Posted: 2008-12-11T08:14:07-07:00
I wanted to build a fat binary including all 4 platforms supported by Mac OSX: i386, x86_64, ppc, ppc64. This worked well for i386 and x86_64, but failed for ppc and ppc64. The reason is that configure looks for a method to dump object symbols and tries two possible commands: link and dumpbin. For some reason the command "link" does exist on a Mac, but it's certainly not a linker
/bin/link is a substitute for ln.
configure does not recognize this (/bin/link -dump -symbols fails) and creates a faulty libtool, which in turn fails to compile ImageMagick.
/bin/link is a substitute for ln.
configure does not recognize this (/bin/link -dump -symbols fails) and creates a faulty libtool, which in turn fails to compile ImageMagick.