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: <20040504050658.17977.qmail@web20608.mail.yahoo.com> Date: Mon, 3 May 2004 22:06:58 -0700 (PDT) From: john george Subject: Trying to link an MSVC DLL with a Cygwin Application To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Hi , I'm trying to link a MSVC++ created DLL with a cygwin application. Could you please provide me any useful link realted to this issue. I'm trying the following commands but it doesn't seem to work: Trying to convert the MSVC++ created DLL to a shared lib using the dlltool dlltool --def test.def --dllname msvctest.dll -llibtest.a (test.def has the exported symbol names) I keep this libtest.a in the /lib directory so that there won't be any LD_LIBRARY_PATH related issues. After this step I try gcc mytest.c -ltest This gives me undefined refernce to function name ... Is there anything that I'm missing? Regards, john __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover -- 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/