On Mon, Nov 27, 2000 at 08:20:24AM -0000, Wynne, Conor wrote:
> Yep, its the ol kgcc buzz, but be careful to change ALL references to gcc to
> kcc, there are usually two to change else you'll be back with failing
> kernels...
Dunno about that... There are two references to gcc in the makefiles
because some files are compiled for the target and some are compiled
for the build machine. For example, the file arch/i386/boot/tools/build.c
is compiled and runs on the _build_ machine, not on the target.
The CC variable specifies the compiler to use for compiling for the target
and HOSTCC specifies the compiler to use for the build machine.
You should only have to change CC.
Anyway, I'm sure this is well documented on www.redhat.com somewhere as I've
seen this question come up here and elsewhere at least 3 or 4 times a week...
Later,
Kenn
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!