2010/6/17 Thibaud Fabre <fabre.thib...@gmail.com> > 2010/6/17 Bruce Dubbs <bruce.du...@gmail.com> > > Thibaud Fabre wrote: >> > Hello, >> > >> > I am new to this list, so first of all, thanks for the great learning >> > experience that is LFS. >> > >> > While attemtping to do a build with the latest packages, I had trouble >> > compiling GCC 4.5.0 using MPFR 3.0.0. Compilation fails on 'make' >> command, >> > with report of two missing files, gmp-imp.h and longlong.h. This can >> > actually be fixed by copying these two files from the source dir >> > ($LFS/sources/gcc-4.5.0/gmp) into the build dir ($LFS/gcc-build/gmp) >> after >> > issuing ./configure and before issuing make. >> > >> > I don't know if this could be mentioned in the book, as it would allow >> > people to upgrade to the latest software packages. >> >> You don't say what version of the book you are using. gcc-4.5.0 >> requires gmp and mpc as well as mpfr. This is documented in the -dev >> book. >> >> Be aware that there are problems with gcc-4.5.0 and the -Os options >> (used by default when building the kernel). >> >> http://wiki.linuxfromscratch.org/lfs/ticket/2662 >> >> -- Bruce >> -- >> http://linuxfromscratch.org/mailman/listinfo/lfs-dev >> FAQ: http://www.linuxfromscratch.org/faq/ >> Unsubscribe: See the above information page >> >
My apologies... I was using the lfs-dev book, version SVN-20100601. > > As for gmp & mpc, they were present in my gcc src folder. The bug I > described only occurs when using MPFR v3.0 instead of v2.4.2. Pack > > Thanks for the -Os tip, it might save me a lot of time :) > > Best regards, > Thibaud F. > Sorry, my fingers slipped and hit send by mistake... Previous message should read : As for gmp & mpc, they were present in my gcc src folder. The bug I described only occurs when using MPFR v3.0 instead of v2.4.2. Version of MPC was 0.8.2 and GMP 5.0.1. GCC compilation will fail even WITH the gmp/mpc/mpfr sources present in gcc source folder when make tries to run mpfr-configure. Copying the two missing GMP source files into /gcc-build/gmp will fix this. Best regards, Thibaud F.
-- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page