Building SQLite3 CLI without

Jose Isaias Cabrera jicman@outlook.com
Sat Dec 3 21:14:16 GMT 2022


On December 2, 2022 4:37 PM, Oskar Skog expressed:
> 
> On 2022-12-02 22:37, Jose Isaias Cabrera via Cygwin wrote:
> >

> > Is there an option that I can do to build the tool without the need of
> > the cygwin1.dll? I know that I can move the file in the same spot, but I
> > want to create it without the need of it. Thanks for your support.

> "No. If your program uses the Cygwin API, then your executable cannot run 
> without cygwin1.dll. In particular, it is not possible to statically link
> with a Cygwin library to obtain an independent, self-contained executable."

Not true. To do this, use the mingw32 or 64 compiler, as this,

CC=i686-w64-mingw32-gcc ./configure

and the SQLite3 tool will work without the cygwin1.dll.  If you want to try it let me know and I will post the steps to follow.


More information about the Cygwin mailing list