Re: library for Visual Studio?

Keith MARSHALL <[email protected]>
Newsgroups gmane.comp.windows.gnu.user
Message-ID <OFED884502.FBB43DE8-ON802572F1.002B17AF-802572F1.002BDC13@total.com>



Kay wrote:
> the precompiled library I downloaded are in .a format, but I really
> need the libary in .lib format so I can link from microsoft Visual
> Studio. Any suggestions how to convert?

Simply rename the file; `libfoo.a' becomes `foo.lib'.  `libfoo.dll.a'
can similarly be named as `foo.lib'; in this case it would be an
import library for `foo.dll'.

You might like to refer to the archives of the MinGW users list:
http://news.gmane.org/gmane.comp.gnu.mingw.user

where this question is asked, and answered, on a regular basis.  Also,
take note of the advice and cautions given here:
http://www.mingw.org/MinGWiki/index.php/MixingCompilers

HTH,
Keith.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.