Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!think!nrl-cmf!ames!pioneer.arc.nasa.gov!dwhitney From: dwhitney@pioneer.arc.nasa.gov (David Whitney- RCD) Newsgroups: comp.lang.c Subject: where to find all those #ifdef's and #defines Message-ID: <40059@ames.arc.nasa.gov> Date: 8 Jan 90 22:41:36 GMT Sender: usenet@ames.arc.nasa.gov Reply-To: dwhitney@pioneer.arc.nasa.gov (David Whitney- RCD) Organization: NASA Ames Research Center, Mtn Vw CA 94035 Lines: 19 Disclaimer: The opinions expressed are this writer's... -NOT- NASA's No seemed to know before, but I'm sure somone's _gotta_ know somewhere: I've got a lot of programs that run on different systems and I want to find out where each is running (among other things). I've seen a lot of cpp commands to determine some things (e.g. #ifdef CRAY ...do such and such #endif Where is "CRAY" defined? Or "unix" or "sgi", etc.? Does anyone know who, what, or where to find these definitions for each machine? What I'd like (ideally) is a list of the variables that are #define'ed at any one time. Thanks, -Dave (please e-mail responses)