This is the mail archive of the gcc@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: gcc 4.1.0 NOT built on i686-pc-linux-gnu (Scientific Linux 3.0.4)



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


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