lkml.org 
[lkml]   [1998]   [Dec]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: 2.1.132 Patch
From
Date
Michael Elizabeth Chastain <mec@shout.net> writes:


> Yes, it does cause some disruption to patch a section of Makefile that
> thousand of people have been editing by hand, but the point is that you
> *won't* ever again have to patch Makefile to set or unset SMP.
>

But I still have to edit it to change the compiler to use egcc.
Would it be possible to define a single variable to choose the
compiler, so that I can pass a value on the command line? In the
Makefile there are 2 different variables for CC at the present time:

HOSTCC =egcc
HOSTCFLAGS =-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer

CROSS_COMPILE =

AS =$(CROSS_COMPILE)as
LD =$(CROSS_COMPILE)ld
CC =$(CROSS_COMPILE)egcc -D__KERNEL__ -I$(HPATH)
CPP =$(CC) -E

Would it be possible to change the CC line so as to read:

CC =$(CROSS_COMPILE)$(HOSTCC) -D__KERNEL__ -I$(HPATH)

so that I could invoke the compilation as

HOSTCC=egcc make xconfig dep clean etc etc etc....

Thanks for your attention.

Pf

--

-------------------------------------------------------------------------------
Pierfrancesco Caci | mailto:p.caci@flashnet.it - http://gusp.infogroup.it
ik5pvx | http://www.geocities.com/SoHo/Lofts/8999
Firenze - Italia | Office for the Complication of Otherwise Simple Affairs
Linux penny 2.1.132 #1 Wed Dec 23 13:57:59 CET 1998 i586 unknown

-
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:46    [W:0.040 / U:0.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site