On Jan 15, 2008 5:33 PM, Lee McCafferty <[EMAIL PROTECTED]> wrote: > > > On Tue, 2008-01-15 at 17:22 -0800, Dan Nicholson wrote: > > > > It appears you're still using your host's gcc instead of the one at > > /tools/bin/gcc. Perhaps you missed the /tools/bin/cc -> gcc symlink? > > Maybe /tools/bin is not at the beginning of your PATH? What's the > > output of `which cc' and `which gcc'? > > > > -- > > Dan > > Wow, speedy reply. Thanks. That could be the problem, although I did do > the symlink I may have done it wrong. > which cc gives -> /usr/bin/cc > which gcc gives -> /usr/bin/gcc > If that should be /tools/bin/cc then I have indeed done it wrong.
Yep, that's a problem. You'll have to start Ch. 5 over because the gcc pass 1 build needs to find /tools/bin/ld to do the proper feature tests. In addition to having /tools/bin first in $PATH, also make sure that that you have the environment setup correctly so `set +h' is run during when you switch to the lfs user. You can see if this is the case if you do `echo $-' and "h" is _not_ there. If "h" is there, you should back up to Ch. 4.4 and make sure that you have that all worked out correctly. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page