This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygqwin with mingw32 question


"Norman Vine" <nhv@cape.com> 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
> % rm jnk.c

Or, more elegantly:

gcc -E -dM - </dev/null

-- 
/Jesper


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]