[oi-dev] 2260 provide build of richlowe's il_4_4_4 gcc in userland
Jean-Pierre ANDRE
jean-pierre.andre at wanadoo.fr
Wed Mar 14 08:11:42 UTC 2012
Hi,
> Message du 10/03/12 14:08
> De : "Bayard Bell"
> A : rm at joyent.com, userland at lists.illumos.org, "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) ?
Regards
Jean-Pierre
More information about the oi-dev
mailing list