This is the mail archive of the cygwin@sources.redhat.com 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]

Re: Linking in WSAGetLastError



>      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


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