Build problem when cross compiling under Mac OSX 10.5

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
leitgeb

Build problem when cross compiling under Mac OSX 10.5

Post by leitgeb »

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.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Build problem when cross compiling under Mac OSX 10.5

Post by magick »

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.
leitgeb

Re: Build problem when cross compiling under Mac OSX 10.5

Post by leitgeb »

Thank you, I just submitted a bug report to the autoconf folks. Let's see what happens from there ...
Post Reply