Dr.-Ing. Edgar Alwers wrote: > Hi Bruce, > > I have finisched building LFS-6.6. It is working smootly, it tooks > only a few days to build it. Thank you very much for all the work > involved with the book ! It is an excellent guide. > > I used Fedora 13 as a basis this time. Talking about LFS > SVN-20101018. > > The compilation of GCC-4.5.1 Chapter 6 failed with an error "gmp > internal files not found: gmp-impl.h and longlong.h". I had to > manually copy this two files from the GMP-5.0.1 package to > /usr/include, and then, no more problems. My wife, building from an > older BLFS basis, did not have this problem at all. Question: is this > perhaps a bug of GMP, not placing the files in /usr/include ? and if, > why BLFS does it and Fedora not ? Perhaps the configure of GCC should > include the path to GMP in the book-instructions ? The problem shows > up from time to time, as you may follow googling for it. > > Just a hint, perhaps you might want to check it ?
Once you get to Chapter 6, there is virtually no dependency on the host system (except the kernel itself which is generally not an issue). On my reference build, gmp-impl.h and longlong.h are not installed at all. Note that gcc never uses gmp-impl.h and has it's own copy of longlong.h. Are you sure you installed gmp in section 6.13? Note that this is different from the method of building gmp into Chapter 5's gcc. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
