This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: use vc lib in cygwin


At 06:48 PM 8/25/2004, you wrote:

>Hi, there:
>
>I got some xxx.lib files created by VC.
>Now I wanna create a xxx.dl file based on those xxx.lib files using gcc in 
>cygwin, but some errore occurred.
>
>The xxx.lib files might need to be transferred to something that gcc can 
>recognize, and the problem could then be fixed. So, how to do it?


Good question.  Unfortunately, you haven't said what xxx.lib is, whether 
it's a static lib or an export library, and whether it contains C-callable
functions or just C++.  <http://cygwin.com/cygwin-ug-net/dll.html> should
give you some idea of the process of building a DLL from scratch with 
Cygwin and gcc.  Perhaps with this and the answers to the questions I 
posed above, you'll be able to figure out how to do what you want, assuming 
xxx.lib is a static lib containing C-callable functions.  But then one has 
to question why make a DLL out of a static library.  Not that you can't do
it of course.



--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]