To make the dll, I could not get the dllwrap to work. Based on:
http://www.neuro.gatech.edu/users/cwilson/cygutils/dll-stuff/README
I used this script to create the dll.
#!/bin/sh
gcc -mno-cygwin -Wl,--base-file,base.tmp \
-mdll -Wl,-e,[EMAIL PROTECTED] \
-o sqlite3.dll *.o -L/lib/mingw -lmsvcrt
dlltool --base-file base.tmp --output-exp exp.tmp --def sqlite3.def
gcc -mno-cygwin -Wl,--base-file,base.tmp exp.tmp \
-mdll -Wl,-e,[EMAIL PROTECTED] -o sqlite3.dll \
*.o -L/lib/mingw -lmsvcrt
dlltool --base-file base.tmp --output-exp exp.tmp --def sqlite3.def
gcc exp.tmp -mno-cygwin -mdll \
-Wl,-e,[EMAIL PROTECTED] -o sqlite3.dll \
*.o -L/lib/mingw -lmsvcrt
Boy did I make that harder than it needed to be. Here is the easy way:
gcc -shared -mno-cygwin -o sqlite3.dll \
-L/lib/mingw -lmsvcrt *.o sqlite3.def
-Andy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]