This is the mail archive of the
mailing list for the Cygwin project.
RE: __cygwin__ ++ (RE: getuid() and root)
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: "Hannu E K Nevalainen (garbage mail)" <garbage_collector at telia dot com>
- Cc: cygwin at cygwin dot com
- Date: Wed, 24 Sep 2003 18:32:52 -0400 (EDT)
- Subject: RE: __cygwin__ ++ (RE: getuid() and root)
- References: <NGBBLLIAMFLGJEOAJCCEGEIIDEAA.firstname.lastname@example.org>
- Reply-to: cygwin at cygwin dot com
On Thu, 25 Sep 2003, Hannu E K Nevalainen (garbage mail) wrote:
> > From: Christopher Faylor
> > On Wed, Sep 24, 2003 at 09:21:38PM +0200, Hannu E K Nevalainen
> > (garbage mail) wrote:
> > >I've been thinking that there is a need for a __NOCYGWIN__
> > define too (to
> > >be set when -mno-cygwin is used).
> > >Any thoughts about this? Good(tm) or Bad(tm)?
> > Bad.
> > Rather than cast around in the dark here,
> Yes I'm in the dark, thank you I *DO* know that.
> _THAT IS WHY I'M HERE_ - I've said things inline with that before. You WILL
> most likely read words in style with that - from me - many times over still.
This was not an offensive comment, but a figure of speech.
> >you should be investigating gcc
> > options that tell you what is available.
> I've done that, as you can see below. BUT, as I do "cast around in the
> dark" I haven't got ALL the answers; i.e:
> > I just did this and came up
> > with this incantation:
> > gcc -dM -E -xc /dev/null
> > There's probably an easier way to do this (and if there is, there will
> > be five responses to this message pointing it out) but try the above
> > command. Then try:
> > gcc -mno-cygwin -dM -E -xc /dev/null
> > and compare/contrast the results.
> +#define __MINGW32__ 1
> Thanks, that's a good one. I bet I'll be using that one shortly.
> NOW - to remove the "darkness";
> This has to be *documented* too. That obviously hasn't happened yet.
> /Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
> -- UTC+01, DST -> UTC+02 --
Why are you looking for a MinGW-specific #define in Cygwin documentation?
Granted, it doesn't seem to be in MinGW docs either, but isn't that where
you should have looked for it?
FWIW, Google turns up <http://google.com/search?q=mingw+gcc+defined>
|\ _,,,---,,_ email@example.com
ZZZzz /,`.-'`' -. ;-;;,_ firstname.lastname@example.org
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html