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]

how to specify big-endian build for SH3 toolchain?


  just to make sure i'm doing this properly, what do i have to do
change to get a *big*-endian build for SH3?  all i did was edit
sh3.dat and make the change:

- TARGET_CFLAGS="-O -m3 -ml"
+ TARGET_CFLAGS="-O -m3 -mb"

i'm assuming there must be more since my big-endian build failed
partway through, complaining about a big-endian/little-endian clash,
which means that *part* of the build is still little-endian-oriented.

  have i missed a config/build option somewhere?  thanks.  (i can
supply the actual error messages, but i first figured i'd ask the
obvious question first.)

rday

p.s.  the little-endian build worked fine.

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