delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/04/01:07:44

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <jgsave AT yahoo DOT com>
Subject: Trying to link an MSVC DLL with a Cygwin Application
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019