LFS V6.3 5.5. Linux- API Headers

Chris Staub chris at beaker67.com
Tue Jan 15 20:36:14 PST 2008

Lee McCafferty wrote:
> On Tue, 2008-01-15 at 18:04 -0800, Dan Nicholson wrote:
>> 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
> Thanks for your help, I will go back over the steps tomorrow. One last
> question, in which directory should I create the symlink
> to /tools/bin/cc ?
> Lee

It doesn't matter. Of course, if you simply follow the book's 
instructions exactly, you'll be in the gcc-build dir at that 
moment...but it actually doesn't make a difference what dir you're in.

More information about the lfs-support mailing list