Exporting symbols from a .exe

Earnie Boyd earnie_boyd@yahoo.com
Thu Feb 15 12:09:00 GMT 2001


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




More information about the Cygwin-developers mailing list