Re: Compiler options SS11



On 2007-01-13 07:57:15 +0000, jpjlrc@xxxxxxxxx said:

Hi,

In compiling with Sun Studio 11 on Solaris 10 AMD, what kind of
compiler options are recommended?. I am recompiling my 32-bit
application on the Solaris 10 AMD platform where uname -a reads 'SunOS
<host-name> 5.10 Generic<Kernel Info> i86pc i386 i86pc'

I am specifically looking for the -xtarget and -xarch flags? Should
-xtarget and -xarch be set to some specific values for building a
32-bit app on AMD?

It would depend a lot on what your application's doing. Is it heavy on floating point, or integer, or ...

You will probably need to benchmark your application built with a variety of different options to be sure.

Cheers,

Chris

.



Relevant Pages

  • Compiler options SS11
    ... compiler options are recommended?. ... I am recompiling my 32-bit ... application on the Solaris 10 AMD platform where uname -a reads 'SunOS ...
    (comp.unix.solaris)
  • Re: Compiler options SS11
    ... Yes I have this application running on Solaris 9 Sparcbefore, ... If these flags are not set, does the Sun Studio 11 compiler by default ... Hence wondering...what this mean for S10 AMD. ...
    (comp.unix.solaris)
  • Re: x86 HCL, motherboards. what to watch for?
    ... Is a randomly chosen motherboard ... nforce4 SATA II controller is driven by ... 'Solaris' word on the end ... ... I would have advised the same until a few weeks ago until AMD bought ATI. ...
    (comp.unix.solaris)
  • Re: using automounter for local filesystems. any advantages?
    ... > actually understand by itself that locally mounted filesystems can ... last I looked at amd I seem to remember it needed telling ... > on which systems the fs needed to mounted loopback; on Solaris, ...
    (comp.unix.solaris)
  • Re: Adobe Reader 8.1.1
    ... IBM but on Solaris but only on Sparc no AMD (: ... I just installed it on a SunFire 890 Sunray system ...
    (comp.unix.solaris)