gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Discussion point: Treat Cygwin as Unix or as Win32


From: Pawel Kot
Subject: Re: Discussion point: Treat Cygwin as Unix or as Win32
Date: Mon, 08 Apr 2002 12:25:15 +0200

Hi Feico,

>>> address@hidden 8 April 2002 09:58:33 >>>
> (I had put this up already in another mail, but it was to hidden to be
> picked up.)
> 
> Personally I think Cygwin should be treated as another Unix platform.
> 
> Even though Cygwin is an hybrid, IMHO it would be more clean and more
> consistent with the Cygwin provided API. For Cygwin this means nothing to be
> done because sleep() and usleep() are supported. More general, Cygwin is
> used together with then WIN32 flag. It would have been better in some cases
> if was not done. Because of this there may be conflicts in the Gnokii
> sources. It think it would have been better to handle Cygwin as another Unix
> and save WIN32 for MS VC++ and MinGW. Ofcourse the Win32 serial routines
> should be used with Cygwin and a few other things might need to be changed
> but for now I just want to open the discussion.

The problem is the device layer. It seems to me that cygwin does not compile
with unixserial.c, unixirda.c etc. And this is the reason not to treat is as 
UNIX.

Or give some good reasons to do it.

pkot




reply via email to

[Prev in Thread] Current Thread [Next in Thread]