This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]