On Wed, Dec 15, 2010 at 02:34:30PM -0600, Bruce Dubbs wrote: > Rosario Turco wrote: > > I have Fedora 14 as host and I'm stuck in par. 6.7.1 of LFS 6.7 book. > > > > I followed all the instructions, I'm sure you have typed everything like in > > the > > book (I did the chroot, mount, mkdir etc etc). > > > > When I reinstall the package and try to do: > > make mrproper > > > > It gives me the error make: gcc: file or directory not found > > It looks like gcc is not finding a file. Remember that you need to > remove directories after you use them in each section unless > specifically directed otherwise. > If that didn't help, two further suggestions - First, check that $PATH is correct (just in case it's a trivial error).
Second, 'ldd /tools/bin/gcc' - I suspect that it is linked to files on the host system, and therefore something went wrong when you were adjusting the toolchain. If that is true, it's pretty much fatal. http://www.linuxfromscratch.org/lfs/faq.html#any-no-such-file although I suppose the FAQ is out of date in still mentioning the 'specs' patch. Please review section 5.8, particularly the tests using 'dummy.c'. Perhaps Bruce's comment about removing directories is key - you need to do that for pass 2 of binutils and gcc in chapter 5. ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
