This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building GNU GCC 4.3.2 on Mac OS X (10.6.2)


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]