building SH3 toolchain: big-endian vs little-endian
Daniel Kegel
dank@kegel.com
Wed Dec 1 19:14:00 GMT 2004
Robert P. J. Day wrote:
> 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?
You need to rebuild, since there are .o's
and .a's and .so's that were built the old
way (glibc, for instance).
- Dan
------
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