public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Building SQLite3 CLI without
@ 2022-12-02 20:37 Jose Isaias Cabrera
  2022-12-02 21:37 ` Oskar Skog
  2022-12-03 16:23 ` Andrey Repin
  0 siblings, 2 replies; 8+ messages in thread
From: Jose Isaias Cabrera @ 2022-12-02 20:37 UTC (permalink / raw)
  To: cygwin List


Greetings and salutations!

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

And I can use that DLL outside cygwin without any problem. I can also build the SQLite3.exe tool using this command:

 i686-w64-mingw32-gcc -shared -static-libgcc shell.c -o sqlite3.exe

The problem is that when I run this sqlite3.exe outside the cygwin environment, it gives me the error:

"The code execution cannot proceed because cygwin1.dll was 
not found. Reinstalling the program may fix this problem."

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.

josé

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-12-03 23:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-02 20:37 Building SQLite3 CLI without Jose Isaias Cabrera
2022-12-02 21:37 ` Oskar Skog
2022-12-02 21:53   ` Jose Isaias Cabrera
2022-12-03 21:14   ` Jose Isaias Cabrera
2022-12-03 22:20     ` Ken Brown
2022-12-03 23:15       ` Jose Isaias Cabrera
2022-12-03 16:23 ` Andrey Repin
2022-12-03 18:34   ` Jose Isaias Cabrera

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).