From: Michael Conry (michael.conry at domain ucd.ie)
Date: Wed 15 Aug 2001 - 01:59:56 IST
IIRC, and i don't use Red Hat (let alone 7.0) the RH guys shipped a somewhat
different version of GCC to what most people use, and it won't compile a
kernel.
there are lots of hits on google for search "red hat 7.0 kernel compile",
but i think the important thing is use kgcc (kernel-gcc) to compile the
kernel (you need to change an environment variable, or a line in the
Makefile)
http://www.redhat.com/support/docs/gotchas/7.0/gotchas-7-7.html
says to change the line
CC =$(CROSS_COMPILE)gcc -D__KERNEL__ -I$(HPATH)
to
CC =$(CROSS_COMPILE)kgcc -D__KERNEL__ -I$(HPATH)
"for Red Hat Linux 7. The kgcc compiler is egcs 2.91.66."
This might be enough to get you going
mc
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:11:38 GMT