Building SQLite3 CLI without

Jose Isaias Cabrera jicman@outlook.com
Sat Dec 3 18:34:45 GMT 2022


On December 3, 2022 11:23 AM, Andrey Repin  expressed:
> 
> Greetings, Jose Isaias Cabrera!

Salutations Andrey.

> 
> > I can build SQLite DLL and use it under Windows without any problem
> > using this command:
> 
> > i686-w64-mingw32-gcc -shared -static-libgcc sqlite3.c -o sqlite3.dll
> 
> To the best of my knowledge, you should not use cross-compilers directly.

What do you mean?

> > 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.
> 
> Yes, you should use a cross-compiler and specifically set the target to be windows native executable.

How do I do that? Or, what option do I enter?


More information about the Cygwin mailing list