This is the mail archive of the firstname.lastname@example.org
mailing list for the Cygwin project. See the Cygwin
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
new user question - Cygwin and Mingw32 compatibility?
- To: email@example.com
- Subject: new user question - Cygwin and Mingw32 compatibility?
- From: "THORMODSEN,ARNE D (HP-Corvallis,ex1)" <firstname.lastname@example.org>
- Date: Tue, 9 Mar 1999 13:40:45 -0800
- Delivered-To: email@example.com
- Delivered-To: mailing list firstname.lastname@example.org
- Mailing-List: contact email@example.com; run by ezmlm
- Sender: firstname.lastname@example.org
This is a more compact version of a question I sent out awhile back.
It there some basic incompatibility between using windows sockets via the cygwin
includes and console IO via mingw32?
The small example program below will compile with gcc, linking with wsock32 and
msvcrt, but core dumps with a STATUS_STACK_OVERFLOW when the dlls are loading,
before it even runs. I've found several hints as to what might be the problem
in the mail archives, but nothing specific to this. A cygcheck on the binary
shows both msvcrt.dll and wsock32.dll, which makes sense. But by trial and
error I've found that these guys seem to collide if both are loaded. Is this
simply a basic incompatibility, or what?
// Simplest case for error
// Does nothing
i = WSAStartup(MAKEWORD(1,1),data);
Want to unsubscribe from this list?
Send a message to email@example.com