This is the mail archive of the
cygwin-developers@sources.redhat.com
mailing list for the Cygwin project.
Re: Exporting symbols from a .exe
- To: cygwin-developers at cygwin dot com
- Subject: Re: Exporting symbols from a .exe
- From: DJ Delorie <dj at delorie dot com>
- Date: Thu, 15 Feb 2001 10:41:31 -0500
- References: <20010215013211.A2451@redhat.com>
> I know that in a past life I was able to export symbols from a normal
> executable without too much work.
If you're using "gcc --shared" note that I think the linker disables
all the dll-related code (i.e. exports) when not building a dll. It
shouldn't be hard to re-enable, but you'd have to make it not default
to export-all like it does for dlls.