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]

building SH3 toolchain: big-endian vs little-endian


  i just rebuilt my SH3 toolchain but accidentally had, in my sh3.dat
file, the line:

  TARGET_CFLAGS="-O -ml -m3"

which i'm assuming dictates that i'll be building a toolchain that
automatically compiles and links for SH3, little-endian (so that those
options are now built right in to the compiler, yes?)

  what i really wanted was big-endian instead.  can i just run the
cross-compiler and add the "-mb" option to get big-endian instead?  or
do i have to rebuild the toolchain?

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]