Rif: Re: multilibs and gcc 3.x for SuperHitachi SH

Joern Rennecke joern.rennecke@superh.com
Tue Feb 24 15:49:00 GMT 2004


> I can use elf format, this isn't a problem :)
> Only library for sh-elf, m2 family (sh7045) in big endian is required.
> then,
> 
> how can I configure gcc to create sh-elf tools for m2 in big-endian ?

Just configure with --target=sh2-elf

Note, if you also want support for -fprofile-arcs, you have to build
from a unified tree with --with-headers --with-newlib, or have a
pre-installed newlib and use --with-headers=<dirname> to point to
the headers.



More information about the Gcc mailing list