Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: X-Originating-Email: [eitan_eliahu AT hotmail DOT com] X-Sender: eitan_eliahu AT hotmail DOT com In-Reply-To: From: "Eitan Eliahu" To: cygwin AT cygwin DOT com Subject: Link failure - against cygwin Date: Sun, 07 Aug 2005 07:54:32 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-IsSubscribed: yes 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/