On Wednesday, January 10, 2007 Leonardo Mateo wrote: 

> I'm trying to get an implib from sqlite3.dll to link with.

The easiest way to do this with MinGW/MSYS is to use the configure and
make tools with the source distribution, e.g., sqlite-3.3.10.tar.gz
The instructions on how to do this are in the first 20 lines of the
README file in that archive.

> The generated implib is suspiciously small (790 b)
> When I try to compile I got an undefined reference to sqlite3_open error

When you make an implib from a DLL, ld makes an implib that assumes
your code will use the DLL. There is hardly ever a reason to do this
since gcc will link against the DLL directly.

e

-- 
Doug Currie
Londonderry, NH, USA


-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to