how to specify big-endian build for SH3 toolchain?

Robert P. J. Day rpjday@mindspring.com
Thu Dec 2 11:07:00 GMT 2004


  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



More information about the crossgcc mailing list