lkml.org 
[lkml]   [1999]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: GCC-2.9.5 & Linux ( and Co. ) ...

[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/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.039 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site