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

Reply via email to