linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* standard OS defines
@ 2007-08-22 18:35 Bryan Christ
  2007-08-22 19:24 ` Stephen Kratzer
  0 siblings, 1 reply; 6+ messages in thread
From: Bryan Christ @ 2007-08-22 18:35 UTC (permalink / raw)
  To: linux-c-programming

does anyone know where i can find a list of standardized OS defines? 
i've come across the list below, but i haven't found an authoritative 
resource convince me these are standard/correct.  even if they are i'm 
sure what i've found is a just a subset of a larger list--but i don't 
know where to look.

__CYGWIN__
__NetBSD__
__OpenBSD__
__linux__
__sun__

also, is there a tool that like getconf that i can use to pipe these 
defines into gcc at compile time?

thanks in advance,
bryan

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-08-22 20:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-22 18:35 standard OS defines Bryan Christ
2007-08-22 19:24 ` Stephen Kratzer
2007-08-22 19:28   ` Bryan Christ
2007-08-22 19:47     ` Stephen Kratzer
2007-08-22 19:48       ` Bryan Christ
2007-08-22 20:01       ` Stephen Kratzer

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 NNTP newsgroup(s).