This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Building binutils on Solaris


Hi Rainer,

: > 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.

Can't you use --with-cpu=ultrasparc when configuring, so that the
default cpu will be the ultrasparc ?

Cheers
	Nick


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]