X-Spam-Check-By: sourceware.org Message-ID: <43F3392A.2070102@byu.net> Date: Wed, 15 Feb 2006 07:22:34 -0700 From: Eric Blake User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) MIME-Version: 1.0 To: skaller CC: cygwin AT cygwin DOT com Subject: Re: portability notes References: <1139902278 DOT 8591 DOT 581 DOT camel AT rosella DOT wigram> In-Reply-To: <1139902278.8591.581.camel@rosella.wigram> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com -----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 AT byu DOT 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/