This is the mail archive of the cygwin-developers@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Exporting symbols from a .exe


DJ Delorie wrote:
> 
> > IIRC, isn't -shared the default.  What would happen if gcc -static were
> > used instead?
> 
> "gcc -shared" makes DLLs.  You're thinking of "gcc -Bdynamic" vs
> "gcc -Bstatic".

ld --help

  -Bdynamic, -dy, -call_shared
                              Link against shared libraries
  -Bstatic, -dn, -non_shared, -static
                              Do not link against shared libraries
  -shared, -Bshareable        Create a shared library
  -E, --export-dynamic        Export all dynamic symbols
  --version-exports-section SYMBOL
                              Take export symbols list from .exports,
using
                                SYMBOL as the version.


All right, I don't know anything about what these do.  They just appear
to be on topic.

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]