tech-toolchain archive

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

Re: Building -current under OS X 10.5



On Thu, Aug 18, 2011 at 05:41:35PM -0400, Thor Lancelot Simon wrote:
> 
>       2) Invoke build.sh with -V HOST_CC=gcc-4.2 -V HOST_CXX=g++-4.2
>          -V HOST_CFLAGS="-O2 -pipe -m64" -V HOST_CXXFLAGS="-O2 -pipe -m64"
>          -V HOST_LDFLAGS="-m64"
> 
> This works around the idiocy in the gmp build system that adds -m64 to
> the GCC flags *even if -m32 is already there*.  Unfortunately if you're
> on a 32 bit only machine, this method won't work for you, though setting
> ABI=32 in the environment and using gcc-4.2 probably will.

This has suddenly stopped working:

        checking for recent GMP... yes
        checking for __gmpz_init in -lgmp... no
        configure: error: libgmp not found or uses a different ABI.
        Please read the INSTALL file -- see "In case of problem".
        *** [.configure_done] Error code 1

        nbmake: stopped in /Volumes/scratch/src/tools/mpfr
        1 error

Can anyone say why?

Thor


Home | Main Index | Thread Index | Old Index