Here is a start:
Run the ./configure command as follows with these options:
Code:
./configure --build=i686-pc-cygwin --host=arm-apple-darwin --disable-largefile --with-quantum-depth=8 --without-magick-plus-plus --without-perl
After it finishes, modify Makefile - find the line that says
CFLAGS = -g -O2 -Wall ...
and add -DNDEBUG to the end
Then modify magick/studio.h - find the line that says #include <limits.h> and add two lines after it:
Code:
#include <sys/syslimits.h>
#include <arm/limits.h>
NOTE: I also copied /home/iphone-dev/llvm-gcc-4.0-iphone/config.guess into the config directory to replace the original, but I now don't think that was necessary.
Mine is still compiling, so I will test the result later...
Got it working
Since the install archive I created is 2.2MB, I added it to Downloads with some basic directions.
Fundamentally unarchive into corresponding directories from archive and make sure to chmod +x /usr/local/bin* and /usr/local/bin/.libs/*
If you don't have /usr/local/bin in PATH, add it.
Then you can test with
identify logo:
convert logo: logo.gif
Unfortunately, I haven't (yet) done the libjpeg or libPNG libraries, so the routines are a little sparse on the filetypes they can handle.