Re: building kernel 2.0.x under potato
Herbert Xu wrote:
>
> Of course not, if you want to change the compiler for stuff like dependencies,
> you need to set HOSTCC. But for the problem at hand, which is compiling the
> actual kernel with gcc272, CC works just fine.
Doesn't work either:
lucretia:/usr/src/kernel-source-2.2.12-2.2.12$ export
HOSTCC=/usr/bin/egcc
lucretia:/usr/src/kernel-source-2.2.12-2.2.12$ echo $HOSTCC $CC
/usr/bin/egcc /usr/bin/egcc
lucretia:/usr/src/kernel-source-2.2.12-2.2.12$ make bzimage
make: *** No rule to make target `bzimage'. Stop.
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
Filip Van Raemdonck
Reply to: