Article View: gnu.gcc.help
Article #49804Re: Outputing predefined symbols
From: Bruce Momjian
Date: Sat, 11 Dec 1993 13:53
Date: Sat, 11 Dec 1993 13:53
18 lines
1339 bytes
1339 bytes
Fergus Henderson (fjh@munta.cs.mu.OZ.AU) wrote: : root@candle.uucp (Bruce Momjian) writes: : >Is there a way under gcc 1.40 on a 386 to output the symbols predefined : >by the preprocessor/compiler, like 'unix', __386__, etc? I know there : >was a switch under System V cc. : I don't know about gcc 1.40, but with gcc 2.5.5 either of the following : will work: : gcc -E -dM foo.c : gcc -E -v foo.c Thanks for the info. Only the second suggestion works under 1.40. -- Bruce Momjian | 830 Blythe Avenue root%candle.uucp@bts.com | Drexel Hill, Pennsylvania 19026 + If your life is a hard drive, | (215) 353-9879(w) + Christ can be your backup. | (215) 853-3000(h)
Technical Details
Message-ID:
<CHvILH.2Gs@candle.uucp>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!netnews.upenn.edu!dsinc!jabber!candle!rootReferences:
<CHouIH.9rC@candle.uucp> <9334500.3711@mulga.cs.mu.OZ.AU>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,e6f39d07d723f73f X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-12-12 01:59:28 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!netnews.upenn.edu!dsinc!jabber!candle!root From: root@candle.uucp (Bruce Momjian) Subject: Re: Outputing predefined symbols References: <CHouIH.9rC@candle.uucp> <9334500.3711@mulga.cs.mu.OZ.AU> Organization: a consultant's basement Date: Sat, 11 Dec 1993 13:53:40 GMT X-Newsreader: TIN [version 1.2 PL2] Message-ID: <CHvILH.2Gs@candle.uucp> Lines: 18