This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: portability notes


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to skaller on 2/14/2006 12:31 AM:
> We have done some things in a possibly non-optimal way,
> someone may wish to comment on a better way to do these things?
> 
> CVS log entry for our systems says:
> 
> * added WSAID_CONNECTEX and LPFN_CONNECTEX definitions for ming 
> (nocygwin) target

There is no such thing as ming - it is mingw or mingw32.  Furthermore,
cygwin only provides -mno-cygwin as a convenience, but it is NOT SUPPORTED
on this list.  Ask the mingw list instead.

> 
> * now conditionally define EAGAIN in posix compat layer because ming
> seems to have it.

Why are you writing your own posix compat layer?  That is exactly what
cygwin is!  Instead of targetting mingw, you could target cygwin and be
done with all those hacks.

> Any suggestions how to do this better? The API we're providing
> provides threads, events, and other such stuff on multiple
> platforms including Linux, Solaris, Win32 native, Cygwin,
> Cygwin with -mno-cygwin, MSYS/MinGW (maybe), OSX, BSD, etc.

Compiling on cygwin with -mno-cygwin IS mingw.

- --
Life is short - so eat dessert first!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD8zkq84KuGfSFAYARAgJDAKDTraC1tL19zVNMs/f3Mhrc+f0AEwCeKLxP
l/ruggdFKUw0n54iLq/Zc70=
=gzsN
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]