Hi,
On 14.03.2012 10:11, Jean-Pierre ANDRE wrote:
Hi,
Message du 10/03/12 14:08
De : "Bayard Bell"
A : [email protected], [email protected], "OpenIndiana
Developer mailing list"
Copie à :
Objet : [oi-dev] 2260 provide build of richlowe's il_4_4_4 gcc in
userland
This build of gcc is provided to support illumos-gate and KVM BFS
under OI, following on rm's flag day for moving KVM to richlowe's
4.4.4. This gcc lives under /opt/gcc/4.4.4, which is the path
richlowe
already uses and that KVM will expect after the flag day.
What are the built-in defines put into gcc to discriminate parts of
code intended for Solaris descent from other OSes ?
ntfs-3g uses legacy #ifdef's based on __sun __SVR4 and __SOLARIS__,
which ones are being defined by gcc (at least those intended for
userland).
More generally which defines are meaningful to discriminate parts of
code
against Linux, OpenBSD, etc. but not discriminate Solaris flavors,
compilers
(Sun, gcc) or hardware (X86, sparc) ?
I believe '__sun' is the one recognized by gcc and Studio.
Regards
Jean-Pierre
Best regards,
Milan
_______________________________________________
oi-dev mailing list
[email protected]
http://openindiana.org/mailman/listinfo/oi-dev