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

silverio.di@qem.it silverio.di@qem.it
Tue Feb 24 13:24: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 ?

Thank you for your support....
Silverio Diquigiovanni



                                                                                                                                       
                      Joern Rennecke                                                                                                   
                      <joern.rennecke@s        Per:      silverio.di@qem.it                                                            
                      uperh.com>               Cc:       gcc@gcc.gnu.org                                                               
                                               Oggetto:  Re: multilibs and gcc 3.x for SuperHitachi SH                                 
                      24/02/2004 14.01                                                                                                 
                                                                                                                                       
                                                                                                                                       




> I've built gcc 3.3.2 for sh-coff target with:

Do you really need coff?  We've kept coff around mostly because it's the
better-debuggable sibling of wince, but it lacks support for some
features.

> I would like to know how configure gcc to disable multilibs and set the
> library creation of only m2 (big-endian) and m2(little-endian)
libraries...

You can configure for sh2-elf for sh2 big endian,
or sh2le-elf for sh2 little endian (although sh2le-elf only works in 3.5).
We don't have a configuration name that covers both endiannesses but only
one processor, though.





More information about the Gcc mailing list