Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!mcnc!gatech!hao!noao!hsi!stevens From: stevens@hsi.UUCP (Richard Stevens) Newsgroups: comp.lang.c Subject: Re: pre#defined cpp symbols Message-ID: <657@hsi.UUCP> Date: Mon, 27-Jul-87 05:47:18 EDT Article-I.D.: hsi.657 Posted: Mon Jul 27 05:47:18 1987 Date-Received: Tue, 28-Jul-87 01:49:19 EDT References: <1836@zaphod.UUCP> <165600004@uiucdcsb> Organization: Health Systems Intl., New Haven, CT Lines: 20 Summary: strings /lib/cpp doesn't always work > > A useful way of finding out what is defined (if you're on a Unix > system) is to run `strings /lib/cpp`. Usually they are all grouped > together. > I've tried using strings to find these and it doesn't always seem to work. For example, 'strings /lib/cpp | grep vax' on a 4.3 system won't show 'vax' as being predefined, but it is. Looking at the source for cpp shows that both "vax" and "unix" are put into the symbol table the same way. Also, I was just trying to find all the predefined symbols under SCO Xenix using strings and none of the 'M_I86xM' symbols show up, yet they are defined. Anyone know why ?? Richard Stevens Health Systems International, New Haven, CT ihnp4 ! hsi ! stevens