Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Wed, 27 Sep 2000 11:59:56 -0400 Message-Id: <200009271559.LAA28487@envy.delorie.com> From: DJ Delorie To: egb AT us DOT ibm DOT com CC: cygwin AT sourceware DOT cygnus DOT com In-reply-to: (egb AT us DOT ibm DOT com) Subject: Re: Linking in WSAGetLastError References: > gcc -s -Wl,--base-file,mandel_dll.base -o mandel_dll.dll mandel_dll.o > -Wl,-e,_mandel_init AT 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 AT sourceware DOT cygnus DOT com