This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: extend crosstool.sh to allow gcc4 as native compiler?


On Fri, 1 Apr 2005, Daniel Kegel wrote:

> Robert P. J. Day wrote:
> >   i hope i'm not missing an obvious way to do this, but would it
> > be possible to extend crosstool to allow gcc4 as the native
> > compiler? currently, i have both "gcc" (3.4.3) and "gcc4" (4.0.0)
> > installed on my FC3 system and, for stress testing, i'll compile
> > various projects with both just for fun.
> >
> >   it seems that, at the moment, crosstool.sh is pretty well hardcoded
> > to use "gcc" only:
> >
> >   CC=gcc \
> >
> > that sort of thing.  would it be a big deal to make that a variable?

> Give it a try, see what happens.  Pick some nice unique variable
> name, though.

for the time being, i can use NATIVE_GCC, i guess, which would default
to "gcc" unless overridden.

rday

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]