Trying to link an MSVC DLL with a Cygwin Application
john george
jgsave@yahoo.com
Tue May 4 05:07:00 GMT 2004
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/
More information about the Cygwin
mailing list