Linking in WSAGetLastError
DJ Delorie
dj@delorie.com
Wed Sep 27 09:00:00 GMT 2000
> gcc -s -Wl,--base-file,mandel_dll.base -o mandel_dll.dll mandel_dll.o
> -Wl,-e,_mandel_init@12
You're using the tools wrong. Here, "-s" means "strip debug symbols".
If you want a shared library, use "--shared" instead. You can use
both if you want a stripped DLL. Use the --out-implib linker (-Wl,)
option to produce an import library at the same time. You don't need
the --base-file option.
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
More information about the Cygwin
mailing list