This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 4.1.0 NOT built on i686-pc-linux-gnu (Scientific Linux 3.0.4)
- From: Paolo Bonzini <paolo dot bonzini at lu dot unisi dot ch>
- To: GCC Development <gcc at gcc dot gnu dot org>, maurizio dot loreti at pd dot infn dot it
- Date: Fri, 03 Mar 2006 13:25:57 +0100
- Subject: Re: gcc 4.1.0 NOT built on i686-pc-linux-gnu (Scientific Linux 3.0.4)
- References: <Pine.LNX.4.64.0603031109050.23299@mlinux.pd.infn.it>
the only trouble is that the tree generated unpacking and compiling
libmpfr.2.2.0.tar.bz2 is not compatible with what --with-mpfr-dir
expects, so that configure exits; I had to copy the mpfr include files
in foo/include, the libraries in foo/lib and use --with-mpfr=../../foo .
You have to specify a --prefix option to the configure script, and
install MPFR there (`make install' of course). Then, --with-mpfr will
like the directory that you specified as prefix during MPFR compilation.
The solution would be to allow one to drop GMP into GCC's source code,
like this
tar xvzf gcc-4.1.0.tar.gz
cd gcc-4.1.0
tar xvzf ../gmp-4.1.4.tar.gz
tar xvzf ../mpfr-2.2.0.tar.gz
ln -sf gmp-4.1.4 gmp
ln -sf mpfr-2.2.0 mpfr
mkdir build
cd build
../configure
Paolo