"Norman Vine" <[EMAIL PROTECTED]> writes:
> Since this question comes up quite frequently
> maybe we could add the following 'tip' to the faq
>
> Q) What preprocessor symbols does Cygwin define
> A) Use the tool Luke :-)
>
> % echo > jnk.c
> % gcc -E -dM jnk.c
> % gcc -mno-cygwin -E -dM jnk.c
On Saturday 30 Mar 02, Norman Vine writes:
> Since this question comes up quite frequently
> maybe we could add the following 'tip' to the faq
>
> Q) What preprocessor symbols does Cygwin define
> A) Use the tool Luke :-)
>
> % echo > jnk.c
> % gcc -E -dM jnk.c
> % gcc -mno-cygwin -E -dM jnk.c
David Starks-Browning writes:
>
>On Friday 29 Mar 02, Jonathan Wilson writes:
>> I did see that but what I dont understand is if __CYGWIN__
>is defined
>> when -mno-cygwin is selected.
>
>Try it! Bet you would have learned faster than asking here! (Would
>have saved *me* some time, that's for
r of Cygwin. So there may be things
I'm wrong about. Nevertheless, it's fairly comprehensive. I hope this
helps...
Jon
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
> Of Jonathan Wilson
> Sent: Friday, March 29, 2002 3:57 AM
>
On Friday 29 Mar 02, Jonathan Wilson writes:
> I did see that but what I dont understand is if __CYGWIN__ is defined
> when -mno-cygwin is selected.
Try it! Bet you would have learned faster than asking here! (Would
have saved *me* some time, that's for sure...)
> I also need to know if cygwi
I did see that but what I dont understand is if __CYGWIN__ is defined
when -mno-cygwin is selected.
I also need to know if cygwin GCC defines some specific flag that I can
test for that identifies it as GCC.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:
6 matches
Mail list logo