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: crosstools: Using CC


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


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