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

Jose Isaias Cabrera jicman@outlook.com
Mon Dec 12 23:22:14 GMT 2022


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 (0x7ffc1d6f0000)
> >          ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x778c0000)
> >          wow64.dll => /cygdrive/c/Windows/System32/wow64.dll (0x7ffc1c830000)
> >          wow64win.dll => /cygdrive/c/Windows/System32/wow64win.dll
> > (0x7ffc1d540000)
> 
> Ah, you compiled a 32 bit executable - I guess on a 64 bit install of cygwin.
> 
> Try
> 
> ./configure --host=x86_64-w64-mingw32 CFLAGS=-shared CFLAGS=-static-libgcc

Yes, I need the 32 bit DLL because the application that I have is 32 bit application. However, now that you mention it below, and thanks, I will build the 64 bit CLI. Thanks a lot.

> As far as I can tell compiling 32 bit apps on 64 bit cygwin did never work 
> (easily). 

It actually works for me with a command. But, thanks for your support. You have gotten me much farther.

josé


More information about the Cygwin mailing list