RE: Creating the sqlite3.exe stand-alone w/o cygwin dependency

2022-12-12 Thread Jose Isaias Cabrera via Cygwin
On December 11, 2022 3:42 PM, Michael Soegtrop expressed: > > Hi José, > > Yes, I did. I think you missed one of my emails. But, here is what I did: > > $ ldd sqlite3.exe > > ntdll.dll => /cygdrive/c/Windows/SYSTEM32/ntdll.dll > > (0x7ffc1d6f) > > ntdll.dll => /cygdrive/c

Re: Creating the sqlite3.exe stand-alone w/o cygwin dependency

2022-12-11 Thread Michael Soegtrop via Cygwin
Hi José, Yes, I did. I think you missed one of my emails. But, here is what I did: $ ldd sqlite3.exe ntdll.dll => /cygdrive/c/Windows/SYSTEM32/ntdll.dll (0x7ffc1d6f) ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x778c) wow64.dll => /cygdrive/c/Windows/S

RE: Creating the sqlite3.exe stand-alone w/o cygwin dependency

2022-12-11 Thread Jose Isaias Cabrera via Cygwin
On December 11, 2022 5:23 AM, Michael Soegtrop expressed: > > Hi José, > > did you try copying the MinGW DLLs as I suggested? Yes, I did. I think you missed one of my emails. But, here is what I did: $ ldd sqlite3.exe ntdll.dll => /cygdrive/c/Windows/SYSTEM32/ntdll.dll (0x7ffc1d6f)

Re: Creating the sqlite3.exe stand-alone w/o cygwin dependency

2022-12-11 Thread Michael Soegtrop via Cygwin
Hi José, did you try copying the MinGW DLLs as I suggested? You find them in folder "\usr\x86_64-w64-mingw32\sys-root\mingw\bin" and as I said "ldd" will tell you which ones you need. As a test you can also simply copy all of them to your bin folder, but it might be many (I have 85 DLLs in t

RE: Creating the sqlite3.exe stand-alone w/o cygwin dependency

2022-12-10 Thread Jose Isaias Cabrera via Cygwin
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

RE: Creating the sqlite3.exe stand-alone w/o cygwin dependency

2022-12-10 Thread Jose Isaias Cabrera via Cygwin
On December 10, 2022 10:20 AM, Michael Soegtrop expressed: > > > The problem happens after I move that sqlite3.exe to C:\bin directory. > > very likely quite a few of the MinGW shared libraries supplied by cygwin are > missing - you need to copy these as well. You can use the `ldd` tool on the

RE: Creating the sqlite3.exe stand-alone w/o cygwin dependency

2022-12-10 Thread Jose Isaias Cabrera via Cygwin
On December 10, 2022 9:48 AM, Eliot Moss expressed: > > On 12/9/2022 9:43 PM, Jose Isaias Cabrera wrote: > > > > On Friday, December 9, 2022 6:33 PM, Eliot Moss expressed: > >> > >> On 12/9/2022 4:34 PM, Jose Isaias Cabrera via Cygwin wrote: > >> > >> This is a bit of a shot in the dark, but I

Re: Creating the sqlite3.exe stand-alone w/o cygwin dependency

2022-12-10 Thread Cristobal Escamilla Cavazos via Cygwin
Actually if the dlls is in the same directory it does mean that windows will look there even if the current directory is not in your path (always true if the executable is in the same location, only true if safe dll search is off) given that windows has not found the dll registered in the system in

Re: Creating the sqlite3.exe stand-alone w/o cygwin dependency

2022-12-10 Thread Michael Soegtrop via Cygwin
> The problem happens after I move that sqlite3.exe to C:\bin directory. very likely quite a few of the MinGW shared libraries supplied by cygwin are missing - you need to copy these as well. You can use the `ldd` tool on the .exe and the .dll to find out which these are. You need to copy sqli

Re: Creating the sqlite3.exe stand-alone w/o cygwin dependency

2022-12-10 Thread Eliot Moss via Cygwin
On 12/9/2022 9:43 PM, Jose Isaias Cabrera wrote: On Friday, December 9, 2022 6:33 PM, Eliot Moss expressed: On 12/9/2022 4:34 PM, Jose Isaias Cabrera via Cygwin wrote: This is a bit of a shot in the dark, but I wonder about search paths and find the DLL when trying to start the program. Is

Re: Creating the sqlite3.exe stand-alone w/o cygwin dependency

2022-12-10 Thread Ken Brown via Cygwin
On 12/9/2022 4:34 PM, Jose Isaias Cabrera via Cygwin wrote: Greetings! Using these commands, ./configure --host=i686-w64-mingw32 CFLAGS=-shared CFLAGS=-static-libgcc make sqlite3.exe sqlite3.dll I can create the sqlite3 DOS application and the sqlite3 Windows 10 DLL. I have no problem with t

RE: Creating the sqlite3.exe stand-alone w/o cygwin dependency

2022-12-09 Thread Jose Isaias Cabrera via Cygwin
On Friday, December 9, 2022 6:33 PM, Eliot Moss expressed: > > On 12/9/2022 4:34 PM, Jose Isaias Cabrera via Cygwin wrote: > > This is a bit of a shot in the dark, but I wonder about search paths and find > the DLL when trying to start the program. Is the necessary directory on the > search p

Re: Creating the sqlite3.exe stand-alone w/o cygwin dependency

2022-12-09 Thread Eliot Moss via Cygwin
On 12/9/2022 4:34 PM, Jose Isaias Cabrera via Cygwin wrote: This is a bit of a shot in the dark, but I wonder about search paths and find the DLL when trying to start the program. Is the necessary directory on the search path available to Windows and/or passed to the sqlite3 executable as an env

Creating the sqlite3.exe stand-alone w/o cygwin dependency

2022-12-09 Thread Jose Isaias Cabrera via Cygwin
Greetings! Using these commands, ./configure --host=i686-w64-mingw32 CFLAGS=-shared CFLAGS=-static-libgcc make sqlite3.exe sqlite3.dll I can create the sqlite3 DOS application and the sqlite3 Windows 10 DLL. I have no problem with the DLL. But with the sqlite3.exe CLI tool, I can run it in th