This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: UN*X defines (WAS: RE: CygUtils Version of zip (and Symlinks))
- To: "s.rekow" <s dot rekow at sh-home dot de>, "Parker, Ron" <rdparker at butlermfg dot com>, cygwin at sourceware dot cygnus dot com
- Subject: Re: UN*X defines (WAS: RE: CygUtils Version of zip (and Symlinks))
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Fri, 26 May 2000 04:54:35 -0700 (PDT)
- Reply-To: earnie_boyd at yahoo dot com
--- "s.rekow" <s.rekow@sh-home.de> wrote:
> > > Well actually, I've wondered about adding unix and linux and 'similar
> > > "standard" defines' myself. What would you consider "standard"?
>
> http://www.whatis.com/posix.htm ? ;)
>
> take a look how i.e. tcl
> (http://dev.scriptics.com/software/tcltk/platforms.html) does it?
>
Good pieces of information, however, I don't see a list of predefined macros
that identify a "UNIX" system as would be attainable by doing
touch empty.c
gcc -c empty.c -E -dM
on a unix system.
Hmm... I just tried this on HPUX with a self built gcc and I get unix, __unix
and __unix__. Now this is what I was after. Those who have linux running, is
there anything else of interest?
Cheers,
=====
---
Earnie Boyd: <mailto:earnie_boyd@yahoo.com>
__Cygwin: POSIX on Windows__
Cygwin Newbies: <http://www.freeyellow.com/members5/gw32/index.html>
__Minimalist GNU for Windows__
Mingw32 List: <http://www.egroups.com/group/mingw32/>
Mingw Home: <http://www.mingw.org/>
__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com