This is the mail archive of the crossgcc@sourceware.org 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: specifying native compiler


On Tue, Jan 03, 2006 at 10:29:36AM -0800, Dan Kegel wrote:
> > CC=<your_gcc_version> script.name [-options]
> 
> Nope, sorry, crosstool.sh doesn't obey that convention.
> There's even a hardcoded line or two like
>   CC=gcc ...
>   BUILD_CC=gcc
> at one point in it.
> 
> I'd say create a fake gcc script that invokes the desired compiler,
> and put that on your path.   Alternately, modify crosstool.sh to uniformly
> use BUILD_CC, and make it easy for users to set that; then submit the
> change so others can benefit.
> - Dan
> p.s. Wow, a three-DK thread!

The commonly used variable names are CC_FOR_BUILD and CC. It would be
pretty cool if crosstool would follow this convention. 

Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9



------
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]