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:42:39 -0500 (CDT)
- Subject: Re: Sun Tag
Hi ,
Thanks for the reply. . . Incidentally, I do not have a Solaris/x86
machine to test out. I have a Solaris/SPARC box though.
Thanks
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
>