delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/05/26/11:40:47

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <20000526115435.755.qmail@web120.yahoomail.com>
Date: Fri, 26 May 2000 04:54:35 -0700 (PDT)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: earnie_boyd AT yahoo DOT com
Subject: 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
MIME-Version: 1.0

--- "s.rekow" <s DOT rekow AT sh-home DOT 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 AT yahoo DOT 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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019