This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: strtoumax could not be located in...cygwin1.dll
- From: Brian Dessent <brian at dessent dot net>
- To: cygwin at cygwin dot com
- Date: Wed, 13 Jul 2005 16:36:15 -0700
- Subject: Re: strtoumax could not be located in...cygwin1.dll
- References: <SERRANOwLmmv6KMgHnG0000051c@SERRANO.CAM.ARTIMI.COM>
- Reply-to: cygwin at cygwin dot com
Dave Korn wrote:
> > It sounds like you didn't update your libcygwin.a .
>
> Ah. So you mean that forwarders only end up as import stubs in the .a,
> not as exports from the .dll itself?
I think this is what the ld manual is hinting at at the end of the
section "direct linking to a dll":
<http://sourceware.org/binutils/docs-2.16/ld/WIN32.html>
"Sometimes it is necessary to include pure static objects within the
import library (which otherwise contains only bfd's for indirection
symbols that point to the exports of a dll). Again, the import lib for
the cygwin kernel makes use of this ability, and it is not possible to
do this without an import lib."
On an unrelated note, I had always thought that direct linking to a dll
took *more* resources during link compared to using an import library,
but apparently this is backwards. I guess it pays to RTFM.
Brian
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/