I am using LFS version 7.10.
In Section 6.7 after chrooting I attempt to run make for the linux
headers, but receive the following error output from make:
    make: gcc: Command not found

and another, more specific error:
    ./scripts/gcc-version.sh: line 25: /tools/bin/gcc: No such file or
directory
    ./scripts/gcc-version.sh: line 26: /tools/bin/gcc: No such file or
directory

After checking the  /tools/bin/ directory, I can see gcc within.

Checking my PATH variable via "echo $PATH" outputs:
/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin

On further investigation, I opened a new terminal, logged in as my
standard user (not root) and was able to run the gcc version listed
under /tools/bin/gcc.

I can run other binaries in the /tools/bin/ directory, like grep. Any
guidance on where I may have gone wrong would be appreciated.

-Devin
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to