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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux