speclib vs. -lc trouble.

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Apr 9 20:52:00 GMT 2009

On Apr  9 19:59, Dave Korn wrote:
> Dave Korn wrote:
> >   I examined the link map files.  For some reason a whole bunch of .idata$4
> > sections go missing when you add -lc:
> > -00000000 I __imp___fseeko64
>   That's interesting.  In libc.a, there is one archive member supplying
> fseeko64.  In libcygwin.a, there are two, and the new one comes first in the
> archive meaning it'll be linked rather than the one that matches the one in
> libc.a.

Isn't that just the mapping from fseeko to _fseeko64 (see NEW_FUNCTIONS
in Makefile.in)?


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

More information about the Cygwin-developers mailing list