This is the mail archive of the cygwin 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]

Link failure - against cygwin



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.
I noticed also that the new function is in libc.a but it doesn't look like that the application link with it.


Thanks!
Eitan




----Original Message---- >From: Eitan Eliahu >Sent: 05 August 2005 16:22

> Folks,
> I would like to add a function to the Cygwin Linux API. Since the .def
> file is automatically generated this function can not be listed there. I
> am wondering if I need to have the keyword __export before the function
> but I noticed that other API functions don't use export.
> Is there any file where all the API functions are listed?


I think cygwin.din is the place. That's where gendef gets it from.



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/



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


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