On 01/13/11 12:04 AM, Alex B. wrote:
> Hello,
>
> I'm searching for Solaris compilation flag. I know that such a flag exists in
> all OSs, so I assume, that Solaris also must have one.
Do you mean #ifdef __sun to tell that you are compiling on SunOS/Solaris?
The cc man page delivered with the Studio compilers documents the compiler
flags, as well as the predefined C macros such as __sun.
--
-Alan Coopersmith- [email protected]
Oracle Solaris Platform Engineering: X Window System
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code