* anyone know how to convert an existing visual C++ import library and dll into a cygwin one?
@ 2002-04-24 6:49 Jonathan Wilson
2002-04-24 8:17 ` Larry Hall (RFK Partners, Inc)
0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Wilson @ 2002-04-24 6:49 UTC (permalink / raw)
To: cygwin
I have a .dll and a .lib that work with visual C++ (Plus some headers
that I have already ported) and I need to convert the dll and lib into
something I can link in with cygwin gnu LD (version 2.11.90 is what ld
-v says it is) Gcc is 2.95.3-5
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: anyone know how to convert an existing visual C++ import library and dll into a cygwin one?
2002-04-24 6:49 anyone know how to convert an existing visual C++ import library and dll into a cygwin one? Jonathan Wilson
@ 2002-04-24 8:17 ` Larry Hall (RFK Partners, Inc)
0 siblings, 0 replies; 2+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2002-04-24 8:17 UTC (permalink / raw)
To: Jonathan Wilson, cygwin
At 05:00 AM 4/24/2002, Jonathan Wilson wrote:
>I have a .dll and a .lib that work with visual C++ (Plus some headers that I have already ported) and I need to convert the dll and lib into something I can link in with cygwin gnu LD (version 2.11.90 is what ld -v says it is) Gcc is 2.95.3-5
The first approximation of this is to just add the import library to the
link line. It's far preferable to pass this as a parameter to gcc though.
Once you get this linked in, it may not run. There are a few possibilities
as to why, the most significant being the possible clash of C run-times.
But, just take it one step at a time.
Of course, all of this becomes a moot point if the library you want to link
to has a C++ interface. Currently, mixing libraries from different compilers
is only feasible with C calls.
Larry Hall lhall@rfk.com
RFK Partners, Inc. http://www.rfk.com
838 Washington Street (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-04-24 13:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-24 6:49 anyone know how to convert an existing visual C++ import library and dll into a cygwin one? Jonathan Wilson
2002-04-24 8:17 ` Larry Hall (RFK Partners, Inc)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).