* options for #cpu and other?
@ 2002-07-31 14:06 Rob Newberry
0 siblings, 0 replies; only message in thread
From: Rob Newberry @ 2002-07-31 14:06 UTC (permalink / raw)
To: gcc-help
When compiling with GCC on Linux/X86, the following will produce a
warning:
#if #cpu(i386)
#warning "X86 processor"
#endif
which is exactly what I want.
Unfortunately, I can't find any information on "#cpu" -- I'm looking for
other pre-defined options like this. Are there any others like "#cpu" --
"#system" for example? Is there a mechanism for getting information about
these from GCC? Is this documented somewhere? Sadly, searching google
for "#cpu" generates absolutely nothing useful...
Thanks a ton!
Rob
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-07-31 21:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-31 14:06 options for #cpu and other? Rob Newberry
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).