How can I find out cc or cpp symbols?

Greg Noel greg at ncr-sd.SanDiego.NCR.COM
Fri May 5 15:07:01 AEST 1989


In article <1954 at trantor.harris-atd.com> bbadger at x102c.harris-atd.com
(Bernie Badger Jr.) writes:
>Is there a way to find out what macros are defined?  It's particularly hard 
>to predict which names will be _predefined_.  ...

I've wondered why the ANSI committee didn't simply mandate that there be a
header file, say <default.h>, that was implicitly #included, and that contained
all the machine-specific, system-specific, and vendor-specific names.  This
would give you the option to look at them, provide a replacement (useful for
cross-compilations), or generally do anything you wanted with them.  Doug,
was this ever suggested?
-- 
-- Greg Noel, NCR Rancho Bernardo   Greg.Noel at SanDiego.NCR.COM  or  greg at ncr-sd



More information about the Comp.unix.questions mailing list