On Saturday, December 10, 2022 1:01 PM, Jose Isaias Cabrera expressed: > > These reported DLL are in the search path, and also moving these to the > executable > folder still gives the same error. I also moved the sqlite3.exe file from the > built > folder to the previous folder in the Cygwin environment, and the same problem > happens:
Just to put this to rest, and I am sure that there is a way of doing this using i686-w64-mingw32, but the only way that it appears to work is just doing plain ./configure and make. ./configure make And then doing these commands: To create the DLL: i686-w64-mingw32-gcc -shared -static-libgcc sqlite3.c -o sqlite3.dll To create the CLI tool: i686-w64-mingw32-gcc -static-libgcc shell.c -o sqlite3.exe sqlite3.c Both sqlite3.dll and sqlite3.exe CLI tool will work outside the cygwin environment. Just in case someone ever needs this. Thanks for all the support. josé -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple