Web lists-archives.com

Re: How to build a DLL without cygwin DLL dependencies

> I am trying to build the latest sqlite windows DLL, and I am
> succeeding, but I am getting an error that cygwin1.dll is missing,
> when I am trying to use the DLL from outside cygwin in the Windows
> environment.  I am using,
> gcc -shared sqlite3.c -o sqlite3.dll
> to build it, but this command creates a dependency for cygwin1.dll.
> Is there any way to build the dll as a standalone DLL with no
> dependency?  Thanks.

Yep, you want the mingw-w64 cross compiler, x86_64-w64-mingw32-gcc
(or i686-w64-mingw32-gcc for 32 bit). There's a cross-compiled sqlite
package already available under mingw64-x86_64-sqlite3 in setup - or
if you're okay with that particular release.

Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple