Subject: Re: __sparc64__ defined by preprocessor?
To: Johnny C. Lam <lamj@stat.cmu.edu>
From: john heasley <heas@shrubbery.net>
List: port-sparc64
Date: 05/20/2001 11:11:37
Sun, May 20, 2001 at 02:07:55PM -0400, Johnny C. Lam:
> Hi,
> 
> 	I don't have access to a sparc64 machine but I need to know if
> the toolchain on the sparc64 defines a __sparc64__ macro or not.  How
> does one conditionally compile code only for the sparc64?
> 
> 	Thanks,
> 
>      -- Johnny C. Lam <lamj@stat.cmu.edu>
>         Department of Statistics, Carnegie Mellon University
>         http://www.stat.cmu.edu/~lamj/

foad [37] gcc -E -
#ifdef __sparc64__
foo
#endif
# 1 ""

foo