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: how to specify big-endian build for SH3 toolchain?


Robert P. J. Day wrote:
  note how calling the compiler uses just the typical -m3 and -m[lb]
options, but calling the pre-processor adds in the options contained
in the $DEFINES variable.  is this what might be missing from the
current crosstool build?  (i'm still working my way thru some of the
logic.)

Yes and no. Trying to use a single toolchain for both big and little endian means multilibbing, i.e. storing .o's and .a's and .so's for both big and little endian in the same toolchain, and crosstool doesn't try to do that.

It's a bit of a tradeoff: crosstool aims at simplicity
(since it was hard enough to get something *simple* working!).
Multilibbing adds convenience at the cost of simplicity.
- Dan

--
Trying to get a job as a c++ developer?  See http://kegel.com/academy/getting-hired.html

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