Re: [sqlite] Compiling libtclsqlite3.so on Cygwin

2013-05-14 Thread Keith Christian
OK Warren, you've helped greatly, thanks again for the assistance, will check other forums if the shared object / dll problems continue. Keith On Tue, May 14, 2013 at 10:53 AM, Warren Young wrote: > On 5/14/2013 09:14, Keith Christian wrote: > >> >> couldn't load file

Re: [sqlite] Compiling libtclsqlite3.so on Cygwin

2013-05-14 Thread Warren Young
On 5/14/2013 09:14, Keith Christian wrote: couldn't load file "./tclsqlite3.o": Exec format error From the Tcl manual: http://tmml.sourceforge.net/doc/tcl/load.html "...such as a .so file under Solaris or a DLL under Windows." Not *.o! My Tcl is awfully rusty, but I managed to get it to

Re: [sqlite] Compiling libtclsqlite3.so on Cygwin

2013-05-14 Thread Keith Christian
Warren, thanks, that built the tclsqlite3.o correctly, and a libsqlite3 file also: -rw-r--r-- 1 kchristian Domain Users 39279 May 14 08:47 tclsqlite3.o -rwxr-xr-x 1 kchristian Domain Users 173214 May 14 08:47 libsqlite3.7.16.2.dll Another question, with a small test script, this error is

Re: [sqlite] Compiling libtclsqlite3.so on Cygwin

2013-05-13 Thread Warren Young
On 5/13/2013 16:36, Keith Christian wrote: gcc -o libtclsqlite3.so -shared tea/generic/tclsqlite3.c -lpthread -ldl -ltcl Don't build it that way. It appears that the TEA build system sees Cygwin and thinks "oh, this is Windows, so it must be VC++ or MinGW". That prevents it from linking to

[sqlite] Compiling libtclsqlite3.so on Cygwin

2013-05-13 Thread Keith Christian
I have the latest version of Cygwin installed (CYGWIN_NT-6.1-WOW64 1.7.18(0.263/5/3) 2013-04-19 10:39 i686 Cygwin) and the latest autoconf archive (sqlite-autoconf-3071602.tar.gz) because it had the required tclsqlite3.c file in order to build the libtclsqlite3.so shared object. I ran the