Re: building kernel 2.0.x under potato
Herbert Xu wrote:
>
> You can easily override this on the command line or in the environment.
>
well...
Script started on Sat Sep 25 08:28:41 1999
lucretia:/usr/src/kernel-source-2.2.12-2.2.12$ ls -l /usr/bin/{,e}gcc
ls: /usr/bin/gcc: No such file or directory
-rwxr-xr-x 1 root root 66924 Apr 7 12:35 /usr/bin/egcc
lucretia:/usr/src/kernel-source-2.2.12-2.2.12$ alias
alias ls='ls --color -a'
alias mv='mv -i'
alias psa='ps a'
alias sl='ls'
lucretia:/usr/src/kernel-source-2.2.12-2.2.12$ gcc
bash: gcc: command not found
lucretia:/usr/src/kernel-source-2.2.12-2.2.12$ echo $CC
egcc
lucretia:/usr/src/kernel-source-2.2.12-2.2.12$ make bzImage
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep
scripts/mkdep.c
make: gcc: Command not found
make: *** [scripts/mkdep] Error 127
lucretia:/usr/src/kernel-source-2.2.12-2.2.12$ export CC=/usr/bin/egcc
lucretia:/usr/src/kernel-source-2.2.12-2.2.12$ echo $CC
/usr/bin/egcc
lucretia:/usr/src/kernel-source-2.2.12-2.2.12$ make bzImage
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep
scripts/mkdep.c
make: gcc: Command not found
make: *** [scripts/mkdep] Error 127
lucretia:/usr/src/kernel-source-2.2.12-2.2.12$ alias gcc=egcc
lucretia:/usr/src/kernel-source-2.2.12-2.2.12$ make bzImage
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep
scripts/mkdep.c
make: gcc: Command not found
make: *** [scripts/mkdep] Error 127
lucretia:/usr/src/kernel-source-2.2.12-2.2.12$ exit
Script done on Sat Sep 25 08:29:51 1999
Doesn't seem to work for me then...
Regards.
Filip Van Raemdonck
Reply to: