9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] What is the gcc builtin 'define' for Plan9 environment?
@ 2002-10-16  0:36 Russ Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Russ Cox @ 2002-10-16  0:36 UTC (permalink / raw)
  To: 9fans

looks like -DPlan9 -D__Plan9__ -D__Plan9.

g% gnu/gcc -v x.c
Reading specs from /sys/lib/gnu/i386-lucent-plan9/lib/specs
Configured with:
Thread model: single
gcc version 3.0
 /386/bin/gnu/i386-lucent-plan9/3.0/cc1 -lang-c -v -D__GNUC__=3 -D__GNUC_MINOR__=0 -D__GNUC_PATCHLEVEL__=0 -Di386 -DPlan9 -D__LITTLE_ENDIAN__ -D_POSIX_SOURCE -D_LIMITS_EXTENSION -D_BSD_EXTENSION -D__ARCHITECTURE__="i386" -D__i386__ -D__Plan9__ -D__LITTLE_ENDIAN__ -D_POSIX_SOURCE -D_LIMITS_EXTENSION -D_BSD_EXTENSION -D__ARCHITECTURE__="i386" -D__i386 -D__Plan9 -Asystem(plan9) -D__NO_INLINE__ -D__STDC_HOSTED__=1 -Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__tune_i386__ x.c -quiet -dumpbase x.c -version -o /tmp/cc6WBuaa.s
GNU CPP version 3.0 (cpplib) (80386, BSD syntax)
GNU C version 3.0 (i386-lucent-plan9)
	compiled by GNU C version 3.0.
#include "..." search starts here:
#include <...> search starts here:
 /386/include/gnu
 /sys/include/gnu
 /sys/include/ape
End of search list.



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

* [9fans] What is the gcc builtin 'define' for Plan9 environment?
@ 2002-10-15 20:50 Skip Tavakkolian
  0 siblings, 0 replies; 2+ messages in thread
From: Skip Tavakkolian @ 2002-10-15 20:50 UTC (permalink / raw)
  To: 9fans

Thanks.



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

end of thread, other threads:[~2002-10-16  0:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-16  0:36 [9fans] What is the gcc builtin 'define' for Plan9 environment? Russ Cox
  -- strict thread matches above, loose matches on Subject: below --
2002-10-15 20:50 Skip Tavakkolian

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).