xfs
[Top] [All Lists]

Re: kernel compile error

To: linux-xfs@xxxxxxxxxxx
Subject: Re: kernel compile error
From: "Hoang Q. Tran" <hoang@xxxxxxxxx>
Date: Sat, 17 Mar 2001 10:56:15 -0500 (EST)
In-reply-to: <3AB2F770.D5A1EB99@xxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
Hi,

Thanks for the quick reply.

I did comment and uncomment the top level Makefile and for
some reason, make doesn't find kgcc. I've found a link regarding
to 2.96. Not sure if it's related to my problem.

http://www.fsf.org/software/gcc/gcc-2.96.html

CC in top level Makefile:

----------------------------------------------------
#comment out this line if compiling on RH 7.0
#CC             = $(CROSS_COMPILE)gcc -V egcs-2.91.66
# AND uncomment the following line
CC              = $(CROSS_COMPILE)kgcc
-----------------------------------------------------

make bzImage error:

[root@blacksheep linux]# make bzImage
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o
scripts/split-include scripts/split-include.c
scripts/split-include include/linux/autoconf.h include/config
kgcc  -D__KERNEL__ -I/usr/src/linux-2.4-xfs/linux/include  -Wall
-Wstrict-prototypes -O2 -fno-strict-aliasing -fomit-frame-pointer -pipe
-march=i586   -c -o init/main.o init/main.c
make: kgcc: Command not found
make: *** [init/main.o] Error 127


<Prev in Thread] Current Thread [Next in Thread>