Link failure - against cygwin

Dave Korn dave.korn@artimi.com
Mon Aug 8 10:52:00 GMT 2005


----Original Message----
>From: Eitan Eliahu
>Sent: 07 August 2005 15:55

> Hi folks, I've added and API function to cygwin and call it from a Linux
> app.
> The new function is included in the new cygwin.dll (dumpbin /EXPORTS
> cyhwin.dll).
> However, I don't know which is the new import library that application
> need to link with.

  When you did 'make install', you should have got a new libcygwin.a
installed into /lib at the same time as you got a new cygwin1.dll installed
into /bin.  If you manually copied the dll into your .bin dir, of course,
this will not have happened.  You should be able to use nm or objdump to
verify that the new function is listed in the import library as well as
having an export from the .dll itself, then everything should work.

  NB:  Save your old cygwin1.dll *and* your old libcygwin.a in case you need
to go back....


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
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/



More information about the Cygwin mailing list