* Re: UN*X defines (WAS: RE: CygUtils Version of zip (and Symlinks))
[not found] <m12v0bq-000Sf0a@mail-r2.shlink.de>
@ 2000-05-25 20:06 ` s.rekow
0 siblings, 0 replies; 5+ messages in thread
From: s.rekow @ 2000-05-25 20:06 UTC (permalink / raw)
To: Parker, Ron, cygwin
> > 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?
Regards,
s.rekow
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: UN*X defines (WAS: RE: CygUtils Version of zip (and Symlinks) )
@ 2000-05-26 10:26 Earnie Boyd
0 siblings, 0 replies; 5+ messages in thread
From: Earnie Boyd @ 2000-05-26 10:26 UTC (permalink / raw)
To: Parker, Ron, s.rekow, cygwin
--- "Parker, Ron" <rdparker@butlermfg.com> wrote:
> > 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?
>
> Only a __linux, but I have no personal desire to add it. IMO it just
> specifies a the variant of UNIX and cygwin is not Linux, although I realize
> there is a desire to be as Linux-like as possible.
>
I agree. BTW, -Dunix is a problem with the runtime code. Someone included a
variable named 'unix'.
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: UN*X defines (WAS: RE: CygUtils Version of zip (and Symlinks))
@ 2000-05-26 9:51 Parker, Ron
0 siblings, 0 replies; 5+ messages in thread
From: Parker, Ron @ 2000-05-26 9:51 UTC (permalink / raw)
To: earnie_boyd, s.rekow, Parker, Ron, cygwin
> 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?
Only a __linux, but I have no personal desire to add it. IMO it just
specifies a the variant of UNIX and cygwin is not Linux, although I realize
there is a desire to be as Linux-like as possible.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: UN*X defines (WAS: RE: CygUtils Version of zip (and Symlinks))
@ 2000-05-26 4:54 Earnie Boyd
0 siblings, 0 replies; 5+ messages in thread
From: Earnie Boyd @ 2000-05-26 4:54 UTC (permalink / raw)
To: s.rekow, Parker, Ron, cygwin
--- "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
^ permalink raw reply [flat|nested] 5+ messages in thread
* UN*X defines (WAS: RE: CygUtils Version of zip (and Symlinks))
@ 2000-05-25 9:34 Parker, Ron
0 siblings, 0 replies; 5+ messages in thread
From: Parker, Ron @ 2000-05-25 9:34 UTC (permalink / raw)
To: cygwin
> Well actually, I've wondered about adding unix and linux and 'similar
> "standard" defines' myself. What would you consider "standard"?
That't why I quoted "standard". AFAIK there are no standards for defines to
indicate that a program is being built on a UN*X system. I have just
noticed over the years that many packages use UNIX, unix, or some
permutation with underscores to check for a UN*X operating system.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2000-05-26 10:26 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <m12v0bq-000Sf0a@mail-r2.shlink.de>
2000-05-25 20:06 ` UN*X defines (WAS: RE: CygUtils Version of zip (and Symlinks)) s.rekow
2000-05-26 10:26 UN*X defines (WAS: RE: CygUtils Version of zip (and Symlinks) ) Earnie Boyd
-- strict thread matches above, loose matches on Subject: below --
2000-05-26 9:51 UN*X defines (WAS: RE: CygUtils Version of zip (and Symlinks)) Parker, Ron
2000-05-26 4:54 Earnie Boyd
2000-05-25 9:34 Parker, Ron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).