🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #164

Re: Where are the preprocessor macros?

#164
From: G|ran Uddeborg
Date: Tue, 07 Apr 1992 07:25
11 lines
903 bytes
In article <1605@ltb.ltb.bso.nl> wierda@ltb.bso.NL (Gerben Wierda) writes:
>but I wondered where the macro
>definitions like STDC are hidden,

They are in cccp.c.

>I have put every conceivable part of gcc through strings and I cannot find it.

You probably forgot that string constants are not considered writable
by standard C, why GCC places them in the text segment.  "strings"
only looks in the initialized data segment, unless given the flag "-".
Technical Details
Message-ID: <1992Apr7.072506.27057@sics.se>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!sisu.SE!uddeborg
References: <1605@ltb.ltb.bso.nl>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!sisu.SE!uddeborg
From: uddeborg@sisu.SE (G|ran Uddeborg)
Subject: Re: Where are the preprocessor macros?
Message-ID: <1992Apr7.072506.27057@sics.se>
Sender: gnulists@ai.mit.edu
Organization: Swedish Institute of Systems Development
References: <1605@ltb.ltb.bso.nl>
Distribution: gnu
Date: Tue, 7 Apr 1992 07:25:06 GMT
Approved: bug-gcc@prep.ai.mit.edu
Lines: 12