extend crosstool.sh to allow gcc4 as native compiler?

Robert P. J. Day rpjday@mindspring.com
Fri Apr 1 19:51:00 GMT 2005


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



More information about the crossgcc mailing list