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


David Karlton wrote:
> I have crosstool-0.38 (kegel.com/crosstool), and want to build using a
> different gcc compiler that I have on my local machine. Many of the
> scripts seem to default to CC=gcc.  Is there one meta-override so I
> could specify a different native compiler?
> 
> dk

  If I understand what you're asking right, and if I remember correctly, you
should just be able to write

CC=<your_gcc_version> script.name [-options]

and the value you supply for CC on the command line should override the
makefile definitions.   (Unless the scripts make gratuitous use of the
'override' gmake keyword).


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....



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