This is the mail archive of the 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]
Other format: [Raw text]

Re: minires-0.95 - a new package ready for review

On Wed, Nov 19, 2003 at 04:26:24PM -0500, Pierre A. Humblet wrote:
> Corinna Vinschen wrote:
> > Does ld on Cygwin support weak symbols?  Or is it possible to
> > define __imp__res_query additionally to __imp____res_query?
> Very interesting, thanks.
> Apparently ld can do it, either with a DEF file (yuck, dll only?)

That would be no problem!  Even on Linux, the static libresolv.a
lib has the __res_query symbol *only*.  The weak reference is
only defined in the shared library.  If we have a a workaround for
the DLL, that would be enough :-)

> I had thought about adding a symbol.
> One solution to define the additional symbol is to use something
> like the newsym script in cygwin.
> Btw, could cygwin use weak symbols instead of newsym?

Dunno.  If weak symbols are not supported, I guess the answer is no.
But the idea to use something similar as newsym is cool.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                      
Red Hat, Inc.

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