Building binutils on Solaris
Brian Ford
ford@vss.fsi.com
Tue Aug 31 23:20:00 GMT 1999
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
More information about the Gcc
mailing list