Re: Compiler options SS11
- From: jpjlrc@xxxxxxxxx
- Date: 13 Jan 2007 17:18:59 -0800
If these flags are not set, does the Sun Studio 11 compiler by defaultNo, just the generic type (sparc or x86).
generate code that is optimised for the current platform on which it is
compiled?
So are there any compiler flags that determine whether its for sparc or
x86? or just compiling it on AMD makes it portable to any x86?
Thanks MAN!!, yes my new AMD m/c still has to be set properly to read
those man pages...hence I was looking for something online, I got it on
the SUN's webpages...
Thanks
-jp
Ian Collins wrote:
jpjlrc@xxxxxxxxx wrote:
Thanks Chris.Please don't top-post.
Yes I have this application running on Solaris 9 Sparc(32-bit) before,Only use these if you are targeting a specific hardware platform,
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.
otherwise leave them alone.
If these flags are not set, does the Sun Studio 11 compiler by defaultNo, just the generic type (sparc or x86).
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 UltraSame as sparc, you will get a generic 32 bit x86 executable that can be
Sparc build. Hence wondering...what this mean for S10 AMD.
used on any x86 or x64 platform.
--
Ian Collins.
.
- 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
- Re: Compiler options SS11
- From: jpjlrc
- Re: Compiler options SS11
- From: Ian Collins
- Compiler options SS11
- Prev by Date: Re: Compiler options SS11
- Next by Date: Re: Compiler options SS11
- Previous by thread: Re: Compiler options SS11
- Next by thread: Re: Compiler options SS11
- Index(es):