Re: GCC-2.9.5 & Linux ( and Co. ) ...

Peter Samuelson (peter@wire.cadcamlab.org)
Sat, 23 Oct 1999 01:05:40 -0500 (CDT)


[Miquel van Smoorenburg <miquels@cistron.nl>]
> I wonder why it's not simply
>
> CC :=$(CROSS_COMPILE)$(CC) -D__KERNEL__ -I$(HPATH)
>
> .. so that you can do "make CC=gcc272".. oh well.

I don't think that would work. I've wanted the same feature, though,
so yesterday I coded up a patch to this effect. It tweaks 30 kernel
makefiles and as far as I know it works, but there's no way I can test
anything but i386 and ppc. Have a look:

http://peter.cadcamlab.org/linux/makefile-CC-2.3.22.diff

-- 
Peter Samuelson
<sampo.creighton.edu!psamuels>

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/