UN*X defines (WAS: RE: CygUtils Version of zip (and Symlinks))

Earnie Boyd earnie_boyd@yahoo.com
Fri May 26 04:54:00 GMT 2000


--- "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



More information about the Cygwin mailing list