Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!dsac.dla.mil!dsacg3.dsac.dla.mil!nfs1165 From: nfs1165@dsacg3.dsac.dla.mil ( James L Strickland) Newsgroups: comp.unix.wizards Subject: Re: Predefined compiler identifiers Message-ID: <2423@dsacg3.dsac.dla.mil> Date: 24 Aug 90 12:22:07 GMT Organization: Defense Logistics Agency Systems Automation Center, Columbus Lines: 12 Thanks to all of you who sent me mail about how to identify the predefined variables associated with C compilers. The overwhelming consensus is to do "strings /lib/cpp" and search the output for likely candidates. Put the candidates into a *.c file and run "cc -E foo.c" to determine the values for the variables. -- James Strickland - Systems Programmer jstrickland@dsac.dla.mil Defense Logistics Agency Systems Automation Center (DSAC) Office of Information System Facilities, AIS Software Division, Distributed Systems (FSD) (614) 238-9649 AV 850-9649