crosstools: Using CC

Daniel Kegel dank@kegel.com
Mon Oct 18 17:18:00 GMT 2004


Neal H. Walfield wrote:
> I tried to use crosstools to generate a tool chain for x86_64 using
> gcc-3.3 (not gcc) by running:
> 
> 	CC=gcc-3.3 sh demo-x86_64.sh
> 
> On my Debian installation, gcc is version 2.95.  There are packages
> available to use later gccs and these are installed as gcc-VERSION.
> 
> The above failed because there are two places in crosstools.sh that
> ignore CC and use gcc.  Once I corrected these, it worked fine.  I
> haven't throughly read the source code to know if this is the correct
> general fix, however, it does work for me.  

Thanks for pointing out the problem!

We need to check any fix for this to make sure it's right for canadian
cross builds, too.
- Dan

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