This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Building binutils on Solaris
- To: rainer dot dorsch at informatik dot uni-stuttgart dot de
- Subject: Re: Building binutils on Solaris
- From: Brian Ford <ford at vss dot fsi dot com>
- Date: Tue, 31 Aug 1999 09:34:07 -0500 (CDT)
- cc: gcc at gcc dot gnu dot org
I have coppied the gcc@gcc.gnu.org mailing list. You should really ask
your questions there so more people will have the opportunity to answer.
I'm not really a SPARC or GCC expert, so you might get better replies
there.
On Tue, 31 Aug 1999, Rainer Dorsch wrote:
> If I want that gcc/g++ optimize as good as possible for an Ultrasparc
> processor by default (i.e. without telling -mcpu=ultrasparc), which
> configuration option should I give?
>
I am still rassling with this one myself. Maybe someone on the list
will know better than I? Since -mcpu=ultrasparc requires either the
Solaris as and ld, or a newer than release version of the GNU binutils,
and it has certain codegen bugs and internal compiler errors, it obviosly
doesn't work. I think -mcpu=supersparc might be more stable and give you
some optimizations. See the gcc info pages under:
Invoking GCC -> Submodel Options -> SPARC options for a description of all
that are available.
> Should I say
>
> --target=sparcv9
>
> when configuring?
>
No! I believe that this implies the 64 bit architecture and I am sure
that is not ready for mass consumption.
--
Brian Ford
Software Engineer
Vital Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax: 314-551-8444