Re: How to build a DLL without cygwin DLL dependencies

2019-05-31 Thread Brian Inglis
On 2019-05-31 11:14, Jose Isaias Cabrera wrote: > Tatsuro MATSUOKA, on Friday, May 31, 2019 01:01 PM, wrote... >> If you will have another opportunity to build natitve windows exe or dll, >> please consider to use msys2. > I tried, but the installation doesn't even come with gcc. So, being behind

Re: How to build a DLL without cygwin DLL dependencies

2019-05-31 Thread Jose Isaias Cabrera
Tatsuro MATSUOKA, on Friday, May 31, 2019 01:01 PM, wrote... > If you will have another opportunity to build natitve windows exe or dll, > please consider to use msys2. I tried, but the installation doesn't even come with gcc. So, being behind a firewall, I couldn't use pacman to get stuff in

Re: How to build a DLL without cygwin DLL dependencies

2019-05-31 Thread Tatsuro MATSUOKA
--- jicma wrote: > > Tony Kelman, on Wednesday, May 29, 2019 04:18 PM, wrote... > >and you can avoid the issue by building a 64 bit dll, or in 32 bit via > > > >i686-w64-mingw32-gcc -shared -static-libgcc sqlite3.c -o sqlite3.dll > > > > This is what I needed above. The command I was using, > >

Re: How to build a DLL without cygwin DLL dependencies

2019-05-29 Thread Jose Isaias Cabrera
Tony Kelman, on Wednesday, May 29, 2019 04:18 PM, wrote... >and you can avoid the issue by building a 64 bit dll, or in 32 bit via > >i686-w64-mingw32-gcc -shared -static-libgcc sqlite3.c -o sqlite3.dll > This is what I needed above. The command I was using, i686-w64-mingw32-gcc -shared sqlite3

Re: How to build a DLL without cygwin DLL dependencies

2019-05-29 Thread Tony Kelman
> So, I downloaded "i686-w64-mingw32-gcc" from the setup packages and ran, > i686-w64-mingw32-gcc -shared sqlite3.c -o sqlite3.dll, > but it still wants me to add other DLLs.  I just want to drop the > sqlite3.dll just created in another spot and run a tool using that > without need of any other DL

Re: How to build a DLL without cygwin DLL dependencies

2019-05-29 Thread Jose Isaias Cabrera
Tony Kelman, on Wednesday, May 29, 2019 01:55 PM, wrote... >> >> gcc -shared sqlite3.c -o sqlite3.dll >> >> to build it, but this command creates a dependency for cygwin1.dll. >> Is there any way to build the dll as a standalone DLL with no >> dependency? Thanks. > >Yep, you want the mingw-w64 c

Re: How to build a DLL without cygwin DLL dependencies

2019-05-29 Thread Tony Kelman
> I am trying to build the latest sqlite windows DLL, and I am > succeeding, but I am getting an error that cygwin1.dll is missing, > when I am trying to use the DLL from outside cygwin in the Windows > environment.  I am using, > > gcc -shared sqlite3.c -o sqlite3.dll > > to build it, but this com

How to build a DLL without cygwin DLL dependencies

2019-05-29 Thread Jose Isaias Cabrera
Greetings! I am trying to build the latest sqlite windows DLL, and I am succeeding, but I am getting an error that cygwin1.dll is missing, when I am trying to use the DLL from outside cygwin in the Windows environment. I am using, gcc -shared sqlite3.c -o sqlite3.dll to build it, but this c