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]

easy to extend crosstool to support different build gcc?


  i'm taking a quick look through crosstool.sh and am wondering if it
would be difficult to patch it to support specifying a different build
gcc other than the standard "gcc".

  i wanted to test building with my FC3's copy of gcc4, and dan
already pointed out that one way to do it is to install a wrapper
script for it in, say, /usr/local/bin/gcc, and make sure that appears
earlier in the search path than the standard gcc-3.x on the system.

  but it would be nicer to actually have something like an env
variable of the form BUILD_GCC=gcc4 or something of that form for real
fiexibility.  would that be fairly straightforward, or are there
subtle hooks in there somewhere that would make this infeasible?

  still reading crosstool.sh to figure it out for myself ...

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


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