This is the mail archive of the
cygwin-developers@sources.redhat.com
mailing list for the Cygwin project.
Re: Exporting symbols from a .exe
DJ Delorie wrote:
>
> > With MSVC you don't have to do anything special. If I try --shared, the
> > executable just doesn't work.
>
> Right, because you just created a dll ;-)
>
> What I meant is that if you use the built-in mechanism to export
> symbols, rather than dlltool, I suspect that ld will simply not bother
> to check for symbols to export if you're not building a dll.
IIRC, isn't -shared the default. What would happen if gcc -static were
used instead?
Earnie.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com