*** 231,263 **** ===== *Win32 recompile with mingw32/msys* ! _Note: see Ticket #433 -- if you apply these patches to configure and Makefile.in, you can just use the usual configure and make procedure._ ! 1. Download mingw from http://prdownloads.sourceforge.net/mingw/MinGW-2.0.0-3.exe ! 2. Download msys from http://prdownloads.sourceforge.net/mingw/MSYS-1.0.8.exe ! 3. Install mingw to c:\mingw and msys to c:\mingw ! 4. Download the FULL sqlite source (http://www.sqlite.org/sqlite-2.8.0.tar.gz) ! and extract it into c:\mingw\sqlite ! 5. start the msys.bat and cd to /home/drh/sqlite and ./configure with mingw/msys ! 6. edit src/os.h, go to ~ line 90 (behind the #ifndef OS_UNIX block) and add ! #define OS_WIN 1 ! #define OS_MAC 0 ! #define OS_UNIX 0 ! ! ! ! to the source to force the os type. I don't know why but the os type isn't guessed right and redefined in the os.h... Whatever, force it ;) The defines from the makefile don't work. ! ! 7. call mingw32-make to compile! make isn't used anymore (see http://www.mingw.org/mingwfaq.shtml#faq-mingw32-make.exe) ! ! ! 8. create a file called sqlite.def which contains EXPORTS sqlite_open --- 231,257 ---- ===== *Win32 recompile with mingw32/msys* ! good as of sqlite source 2.8.13. ! 1. Download mingw from www.mingw.org ! 2. Download msys from www.mingw.org ! 3. Install mingw to c:\mingw and msys to c:\msys ! N.B.! Need to override msys installer's default to install ! in c:\mingw ! DO NOT co-mingle msys binaries with mingw's -- ! see: http://www.mingw.org/mingwfaq.shtml#faq-usingwithmsys ! 4. Download the FULL sqlite source (http://www.sqlite.org) and extract it ! to desired location (e.g., c:\....\mysqlite) ! 5. start the msys.bat (in c:\msys), which opens msys shell window, and cd ! to sqlite source location. Invoke msys's ./configure. ! 6. call mingw32-make to compile the resulting Makefile. (make isn't used anymore - see http://www.mingw.org/mingwfaq.shtml#faq-mingw32-make.exe) ! 7. Find within the source distribution a file called sqlite.def which contains EXPORTS sqlite_open *************** *** 300,311 **** sqlite_step sqlite_finalize ! 9. dllwrap --dllname sqlite.dll --def sqlite.def *.o (or if this doesn't work, dllwrap --def sqlite.def -v --export-all --driver-name gcc --dlltool-name dlltool --as as --target i386-mingw32 -dllname sqlite.dll -lmsvcrt *.o) ! 10. strip sqlite.dll ! 11. Ready. ==== *Win32 recompile with borland c++ builder* --- 294,305 ---- sqlite_step sqlite_finalize ! 8. dllwrap --dllname sqlite.dll --def sqlite.def *.o (or if this doesn't work, dllwrap --def sqlite.def -v --export-all --driver-name gcc --dlltool-name dlltool --as as --target i386-mingw32 -dllname sqlite.dll -lmsvcrt *.o) ! 9. strip sqlite.dll ! 10. Ready. ==== *Win32 recompile with borland c++ builder*