LFS-svn chap 6.7 (gcc: No such file or directory)

Ken Moffat zarniwhoop73 at googlemail.com
Tue Sep 7 15:43:42 PDT 2010

2010/9/7 Martin Zajíc <ZAJCA> <zajcaa at gmail.com>:
> It's not 100% but for now all comands working I checked it. Only
> problem is that GCC (all gcc binaries) is bad linked, but only GCC
> nothink else.

 So, since this is a school project, all *you* have to do is to work
out what you did wrongly, or missed.  Assuming your controlling
script invokes gcc pass 2 (I haven't checked), it looks as if you
have an uncaught error there, or else that you omitted the install.

 What Simon said about errors is *very* pertinent - my own
script to build xorg failed this week - appeared to complete
successfully in under 5 minutes.  We all make errors, and
learning how to find them is the important thing.

 In my case, the error was obvious - I'd had a similar problem
in the past, and attempted to trap future errors by testing
'$?'.  Unfortunately, I'd put this immediately after
 do-something &&
so the trap was never executed.

 If you aren't already creating logs (particularly, stderr), you
might want to, so that you can read any error messages.

After tragedy, and farce, "OMG poneys!"

More information about the lfs-support mailing list