This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Rif: Re: multilibs and gcc 3.x for SuperHitachi SH
- From: Joern Rennecke <joern dot rennecke at superh dot com>
- To: silverio dot di at qem dot it
- Cc: joern dot rennecke at superh dot com (Joern Rennecke), gcc at gcc dot gnu dot org
- Date: Tue, 24 Feb 2004 13:24:11 +0000 (GMT)
- Subject: Re: Rif: Re: multilibs and gcc 3.x for SuperHitachi SH
> 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.