Unable to create shared libraries with MinGW
evas at mountaincable.net
Thu Mar 8 19:19:23 CET 2007
I do rename the file extension from "a" to "lib" but I don't think this is
required. I don't know for certain but I believe any library built by MinGW
is useable by Visual Studio.
You are correct about which library file you need and just in case you
didn't know you must include gmp.h.
From: gmp-discuss-bounces at swox.com [mailto:gmp-discuss-bounces at swox.com] On
Behalf Of Roel Schroeven
Sent: Wednesday, March 07, 2007 10:52 AM
To: gmp-discuss at swox.com
Subject: Re: Unable to create shared libraries with MinGW
Chris Saunders schreef:
> I use static libraries built with MSYS and MinGW along with Visual Studio
> 2005 without problems.
Ah, that's good to know. I tried it without success, but I admittedly
haven't tried very hard. From what I read on the Internet, it seemed to
me that it wouldn't work.
Presumably I link my Visual Studio project with .libs/libgmp.a? Or do I
need another file? Should I rename it to libgmp.lib or similar, .lib
being the usual extension for Microsoft libraries?
If I have been able to see further, it was only because I stood
on the shoulders of giants. -- Isaac Newton
gmp-discuss mailing list
gmp-discuss at swox.com
More information about the gmp-discuss