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.
Build problem when cross compiling under Mac OSX 10.5
Re: Build problem when cross compiling under Mac OSX 10.5
ImageMagick relies on automake / autoconf / libtool to configure and build itself. If the problem is within these tools, you need to make a bug report on the appropriate list. If there is something we can do to tweak the configure.ac or Makefile.am scripts, let us know.
Re: Build problem when cross compiling under Mac OSX 10.5
Thank you, I just submitted a bug report to the autoconf folks. Let's see what happens from there ...