Re: Compiler options SS11
- From: jpjlrc@xxxxxxxxx
- Date: 13 Jan 2007 16:55:03 -0800
Thanks Chris.
Yes I have this application running on Solaris 9 Sparc(32-bit) before,
and I am now recompiling it for Solaris 10 AMD. The main considerations
for me at this point seems to be the -xtarget and -xarch flags.
If these flags are not set, does the Sun Studio 11 compiler by default
generate code that is optimised for the current platform on which it is
compiled?
FYI, I didn't set the -xtarget ot -xarch flags for my 32-bit Ultra
Sparc build. Hence wondering...what this mean for S10 AMD.
Thanks
-jp
Chris Ridd wrote:
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
.
- Follow-Ups:
- Re: Compiler options SS11
- From: Casper H . S . ***
- Re: Compiler options SS11
- From: Giorgos Keramidas
- Re: Compiler options SS11
- From: Ian Collins
- Re: Compiler options SS11
- References:
- Compiler options SS11
- From: jpjlrc
- Re: Compiler options SS11
- From: Chris Ridd
- Compiler options SS11
- Prev by Date: Re: Why do Sun boxes shutdown when you unplug the serial console ?
- Next by Date: Re: Compiler options SS11
- Previous by thread: Re: Compiler options SS11
- Next by thread: Re: Compiler options SS11
- Index(es):