I'm at the section where I'm installing the linux API headers in section 6.7.1.
I run
and get
Code:
root:/sources/linux-2.6.22.5# make mrproper
/sources/linux-2.6.22.5/scripts/gcc-version.sh: line 11: /tools/bin/gcc: No such file or directory
/sources/linux-2.6.22.5/scripts/gcc-version.sh: line 12: /tools/bin/gcc: No such file or directory
make: gcc: Command not found
CLEAN include/linux/version.h
I verified that gcc is in /tools/bin and it is as well as cc.
I tried to compile a dummy.c program again and it got:
Code:
bash: /tools/bin/gcc: No such file or directory
here's my path.
Code:
root:/sources/linux-2.6.22.5# echo $PATH
/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin
Am I in the wrong directory or what am I doing wrong?
Let me know if you need anymore information and any help is greatly appreciated.