[lfs-support] GCC-4.6.2 on 32 bit Mint13 mpfr error

William Harrington berzerkula at cox.net
Sat Aug 11 07:41:10 PDT 2012

On Aug 10, 2012, at 07:46 AM, Alexander Yartsev wrote:

> I am sure that I have the mpfr, gmp and mpc in the gcc source  
> folder, but I get the following:
> gcc configure command:
> $LFS/sources/gcc-4.6.2/configure --target=$LFS_TGT --prefix=/tools  
> --disable-nls --disable-shared --disable-multilib --disable-decimal- 
> float --disable-threads --disable-libmudflap --disable-libssp -- 
> disable-libgomp --disable-libquadmath --disable-target-libiberty -- 
> disable-target-zlib --enable-languages=c --without-ppl --without- 
> cloog --with-mpfr-include=$(pwd)/mnt/lfs/sources/gcc-4.6.2/mpfr/src  
> --with-mpfr-lib=$(pwd)/mpfr/src/.libs
> make && make install output:
> checking for MPFR... no
> configure: error: libmpfr not found or uses a different ABI.
> make[1]: *** [configure-mpc] Error 1
> make[1]: Leaving directory `/mnt/lfs/sources/gcc-build'
> make: *** [all] Error 2

Just went through this step in linux mint 32bit in vmware and found  
no issues. Explain the exact commands used at the command line and  
any environment variables you may have changed.


William Harrington

More information about the lfs-support mailing list