Re: Compiler options SS11
- From: Ian Collins <ian-news@xxxxxxxxxxx>
- Date: Sun, 14 Jan 2007 14:24:37 +1300
jpjlrc@xxxxxxxxx wrote:
Sun Studio isn't a cross-compiler.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?
No, just the generic type (sparc or x86).
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?
I may be wrong, but I'm sure leaving out -xarch is the same as
-xarch=generic, so yes. You have to be explicit if you want 64 bit.
Thanks MAN!!, yes my new AMD m/c still has to be set properly to readin bash,
those man pages...hence I was looking for something online, I got it on
the SUN's webpages...
MANPATH=<where you put studio>/SUNWspro/man; man cc
--
Ian Collins.
.
- 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
- Re: Compiler options SS11
- From: jpjlrc
- Compiler options SS11
- Prev by Date: Re: Compiler options SS11
- Next by Date: Re: Why do Sun boxes shutdown when you unplug the serial console ?
- Previous by thread: Re: Compiler options SS11
- Next by thread: Re: Compiler options SS11
- Index(es):
Relevant Pages
|