This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Building binutils on Solaris
- To: nickc@cygnus.co.uk
- Subject: Re: Building binutils on Solaris
- From: Brian Ford <ford@vss.fsi.com>
- Date: Tue, 31 Aug 1999 10:27:36 -0500 (CDT)
- cc: rainer.dorsch@informatik.uni-stuttgart.de, gcc@gcc.gnu.org
On Tue, 31 Aug 1999, Nick Clifton wrote:
> Rainer 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?
> : >
> :
> : Brian Ford wrote:
> :
> : 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.
>
> Can't you use --with-cpu=ultrasparc when configuring, so that the
> default cpu will be the ultrasparc ?
>
Yes, but per the discussion above, this results in a mostly broken
compiler. I was suggesting, only not clear enough, to use
--with-cpu=supersparc as it might be more stable.
--
Brian Ford
Software Engineer
Vital Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax: 314-551-8444