Mail Archives: cygwin/1996/12/09/10:30:29
[ I'm using b16 ]
Background: I'm compiling something that uses the winsock-2 api
instead of winsock. I built a link library for ws2_32.dll, added
the extra declarations for winsock2 to the headers, and tried
to build. It compiles ok, but it fails to link.
The link fails because the compiled code references names such as
'ntohs AT 4' or 'connect AT 12' instead of 'ntohs' or 'connect'. Aha,
I say, I must rebuild my dll link library with name AT offset style
names. That doesn't work ... because the 'name AT offset' compiled
by the compiler is the name AT offset for the winsock-1 dll!
I though the link libraries for the dlls are supposed to isolate
normal code from the 'offset in dll' stuff????
How do I tell the *compiler* to generate plain 'name', or
'name AT offset' for functions in the winsock-2 dll I'm trying to link
against, INSTEAD of the the winsock-1 names AT offset???
thanks!
bolo
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -