Finally got the toolchain working!
The core of the problem is that mpfr and gmp must be compiled for 32 bits. I have no idea if the problem is specific to 10.5.8, to my machine (late 2007 Core 2 Duo iMac) or to the hodge-podge of compilers and development tools that have accumulated on my system since then.
Here's how I did it:
- Grabbed jsnyder's makefile and patches
- sudo make install-deps . It will fail at the steps described above, because arm-none-eabi-gcc will be attempted to be built for 32 bits, while make install-deps will build mpfr and gmp have just been built for 64 bits.
- cd gmp-2010q1-188 ; ./configure ABI=32 ; sudo make install ; cd .. to force gmp to be built for 32 bits
- cd mpfr-2010q1-188 ; ./configure ABI=32 ; sudo make install ; cd .. to force mpfr to be built for 32 bits
- now you can resume the global install procedure with mkdir -p $HOME/arm-cs-tools/bin ; export PATH=$HOME/arm-cs-tools/bin:$PATH ; make install-cross
The files produced in arm-cs-tools can now be copied over the files in /Applications/MapleIDE.app/Contents/Resources/Java/hardware/tools/arm .
I could compile Blink. Now waiting for my board to arrive!
If you're interested in getting the pre-built binaries:
http://dl.dropbox.com/u/612135/dev/tools.zip