This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Sun Tag
- From: Raghuveer Aravindan <aravind at cs dot umn dot edu>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Mon, 7 Oct 2002 11:50:30 -0500 (CDT)
- Subject: Re: Sun Tag
BTW - Thanks for the suggestion regarding the usage of __sun__ . Shall
keep that in mind for stuff that i code in the future.
Regards,
-Aravind
On Mon, 7 Oct 2002, Zack Weinberg wrote:
> On Mon, Oct 07, 2002 at 11:22:20AM -0500, Raghuveer Aravindan wrote:
> > Hi all,
> >
> > Does anybody know if the compiler will define the sun tag on a Solaris on
> > x86 ?
> > ie will #ifdef sun
> > a=10
> > #endif
> >
> > define a ?
>
> You can find out yourself: gcc -E -dM -xc /dev/null | grep sun.
>
> Incidentally, you should use __sun__; we are slowly phasing out the
> bare tags, which infringe on the user's namespace.
>
> zw
>