Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com X-Authentication-Warning: hp2.xraylith.wisc.edu: khan owned process doing -bs Date: Fri, 16 Feb 2001 17:41:43 -0600 (CST) From: Mumit Khan To: cygwin-developers AT cygwin DOT com Subject: Re: Exporting symbols from a .exe In-Reply-To: <20010215121332.H3899@redhat.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 15 Feb 2001, Christopher Faylor wrote: > > With MSVC you don't have to do anything special. If I try --shared, the > executable just doesn't work. Coming in late on this, and DJ has already explained the issues, specifically regarding how --shared assumes a DLL. Not hard to remove that restriction, but I really ought need to look at the code before making such assertions. I always used the old scheme for building executables that export it's symbols (ld + dlltool multipass or using dllwrap). I'll do a few simple experiments with MSVC and see what goes on in there. I'm curious -- is there a particular application of this in Cygwin runtime? Regards, Mumit