[comp.lang.c] More cpp pre#defines

dlnash@ut-ngp.UUCP (Donald L. Nash) (07/29/87)

We have an Encore Multimax here at UT Austin.  It has 8 NS32032's in it,
but will hold more (up to 20 I think).  It does not come with pcc, but
with the Greenhills C Compiler, which has the cpp built in as an integral
part of the compiler.  However, a separate cpp is still available for those
cases when it is needed.  It defines the following macros which were not in
the recently posted list:

n16
ns16000
ns32000
ghs

It also defines unix, __FILE__, and __LINE__.

The ghs macro, which I suppose means "Greenhills", is only found when the
compiler proper does the preprocessing, it is not found in the separate
cpp.

				Don Nash

UUCP:    ...!{ihnp4, allegra, seismo!ut-sally}!ut-ngp!dlnash
ARPA:    dlnash@ngp.UTEXAS.EDU
BITNET:	 CCEU001@UTADNX, DLNASH@UTADNX
TEXNET:  UTADNX::CCEU001, UTADNX::DLNASH

UUU       UUU
 U         U                The University of Texas at Austin
 U     TTTTUTTTTTTTTT              Computation Center
 U     T   U TT     T
  U       U  TT            "The world is basically non-linear."
   UUUUUUU   TT
             TT 
            TTTT

ron@topaz.rutgers.edu (Ron Natalie) (08/04/87)

The @&$#^% Greenhills compiler on our System V 68K box also defines
the symbol "sun".  Foo, this is carrying the all 68000's are Suns
approach that Sun uses with NFS (/usr.MC68020) too far.  Fortunately,
you can get rid of this by modifying the cc command.

-Ron