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/