On Fri, 9 Apr 2010, Tiago Maluta wrote:
I'm trying to compile GNU GCC on OSX (SnowLeopard). I first compiled gmp, mpfr and mpc 1) GMP cd gmp-5.0.1 ./configure --prefix=$(cd ../install-gmp && pwd) make install
[...]
ld: warning: in /Users/maluta/Software/install-gmp/lib/libgmp.dylib, file is not of required architecture
It is likely that by default GMP was built for 64 bits, while GCC is built for 32 bits. You can change that by setting ABI=32 for GMP (you will also need to reinstall mpfr and mpc afterwards).