Christoph Hellwig wrote:
> On Sun, Feb 11, 2001 at 11:21:00AM -0600, Eric Sandeen wrote:
> > Jens Axboe wrote:
> > > But can we at least get a decent work-around, that doesn't barf
> > > if kgcc isn't available? It seems rather silly to assume gcc
> > > is borken.
> > As of 2.4.0, the official Makefile uses:
> > CC :=$(shell if which $(CROSS_COMPILE)kgcc > /dev/null 2>&1; then echo
> > $(CROSS_COMPILE)kgcc; else echo $(CROSS_COMPILE)gcc; fi) -D__KERNEL__
> > -I$(HPATH)
> No - you seem to use some patched (-ac?) tree.
There has been some debate as to the best way to do this.
The extra shell invocation for every file compiled could be a bit
I think most people brave enough to compile their own kernel
should be able to edit the Makefile and adjust the compiler line.
> Of course it doesn't work. We've performed a software upgrade.