Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Delivered-To: mailing list cygwin@sources.redhat.com Date: Wed, 27 Sep 2000 11:59:56 -0400 Message-Id: <200009271559.LAA28487@envy.delorie.com> From: DJ Delorie To: egb@us.ibm.com CC: cygwin@sourceware.cygnus.com In-reply-to: (egb@us.ibm.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@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