[lfs-support] can't compile gcc pass 1

Bruce Dubbs bruce.dubbs at gmail.com
Sat Jan 5 09:39:52 PST 2013

Tobias Gasser wrote:
>> My error with this page, even after having built one or two versions of
>> LFS, was that the last line:
>> "gcc compilation OK"
>> that made me ignore the other lines, when some of these lines were
>> telling me that I had requirements to fix.
>> I thought: "all right, host can compile, so the other lines are just
>> additional information or recommendations, may be".
> i had the same problem. so i reworked the script.
> i moved the compile test after checking for gcc, and put linux at the
> end, as there have to be checked 2 versions
> the output does not only show min requirement, but the current version
> the book builds too.
> my script aborts if /bin/sh is not bash, awk not gawk or yacc not bison.
> if awk or yacc are scripts, i show a message to check the script.

The idea of the script was that it should be short.  Generally the 
problem is that the symlinks are not set and occasionally makeinfo is 
not installed.  Rarely is the problem an out-of-date executable.

I'll think about changes.

   -- Bruce

More information about the lfs-support mailing list