Article View: gnu.gcc.help
Article #49793Re: Outputing predefined symbols
From: Fergus Henderson
Date: Fri, 10 Dec 1993 13:51
Date: Fri, 10 Dec 1993 13:51
13 lines
1047 bytes
1047 bytes
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 -- Fergus Henderson fjh@munta.cs.mu.OZ.AU
Technical Details
Message-ID:
<9334500.3711@mulga.cs.mu.OZ.AU>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!pipex!uunet!munnari.oz.au!cs.mu.OZ.AU!munta.cs.mu.OZ.AU!fjhReferences:
<CHouIH.9rC@candle.uucp>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-10 18:38:39 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!pipex!uunet!munnari.oz.au!cs.mu.OZ.AU!munta.cs.mu.OZ.AU!fjh From: fjh@munta.cs.mu.OZ.AU (Fergus Henderson) Subject: Re: Outputing predefined symbols Message-ID: <9334500.3711@mulga.cs.mu.OZ.AU> Sender: news@cs.mu.OZ.AU Organization: Computer Science, University of Melbourne, Australia References: <CHouIH.9rC@candle.uucp> Date: Fri, 10 Dec 1993 13:51:58 GMT Lines: 13