Small. Fast. Reliable.
Choose any three.
*** 2,22 ****
  
  Download eclipse 3.2.1
  
! Download eclipse CDT plugin for c/c++ ( version 3.1.1 )
  
! Download mingw ( used MinGW-3.1.0-1.exe ).
  
! create a new project ( managed make c++ project ).
  
! Add all the .c files from sqlite source to the eclipse project created in the above step ( you can copy all the .c files from explorer and paste into eclipse project ).
  
! Build the project ( right click on the project and build ).
  
! make sure you have make.exe available on windows.
  
! if there are any errors in tclsqlite.c file delete this file from eclipse project.
  
! eclipse generates the makefiles required once you add the source files to the project.
  
  ===========
  
--- 2,22 ----
  
  Download eclipse 3.2.1
  
! Download eclipse CDT plugin for c/c++ (version 3.1.1)
  
! Download mingw (used MinGW-3.1.0-1.exe).
  
! Create a new project (managed make c++ project).
  
! Add all the .c files from sqlite source to the eclipse project created in the above step (you can copy all the .c files from explorer and paste into eclipse project).
  
! Build the project (right click on the project and build).
  
! Make sure you have make.exe available on windows.
  
! If there are any errors in tclsqlite.c file delete this file from eclipse project.
  
! Eclipse generates the makefiles required once you add the source files to the project.
  
  ===========
  
***************
*** 25,43 ****
  
  (see also the MacOSX command line instructions below)
  
! If the "configure" script does not work for you, then you might
! have to compile manually.  Fortunately, this is easy to do.  First
! download the preprocessed source code from
! http://www.sqlite.org/sqlite_source.zip.
! This archive contains a set of C source and header files that
! are ready to be passed to a C compiler.  To build the library,
! just compile all of the files.
! 
! Note that the files "shell.c" and "tclsqlite.c" are special and
! do not belong in the SQLite library proper.  "shell.c" is used
! to build the "sqlite" shell program and "tclsqlite.c" is the
! TCL bindings for SQLite.  You may want to omit both of these
! files when you build the library.
  
  For example, I was able to compile SQLite for HPUX as follows:
  
--- 25,33 ----
  
  (see also the MacOSX command line instructions below)
  
! If the "configure" script does not work for you, then you might have to compile manually.  Fortunately, this is easy to do.  First download the preprocessed source code from http://www.sqlite.org/sqlite_source.zip. This archive contains a set of C source and header files that are ready to be passed to a C compiler.  To build the library, just compile all of the files.
! 
! Note that the files "shell.c" and "tclsqlite.c" are special and do not belong in the SQLite library proper.  "shell.c" is used to build the "sqlite" shell program and "tclsqlite.c" is the TCL bindings for SQLite.  You may want to omit both of these files when you build the library.
  
  For example, I was able to compile SQLite for HPUX as follows:
  
***************
*** 53,86 ****
  
  *DJGPP (32 bit, protected memory DOS)*
  
! libsqlite.a and sqlite.exe may be made for djgpp in a similar way as with HPUX above. it compiles and
  works out of the box, with the following limitations:
  
! 1. temporary files are not removed upon database close (journal file).
  
! 2. files created by sqlite automatically will be correctly created only if lfn is enabled. otherwise, lacking
! the journal file, the database will be open read-only.
  
! my diffs are fixing both problems, and make sqlite work very well on djgpp.
  
! to avoid overload of this page, i have attached patches to sqlite development tickets. each patch applies
! for a certain sqlite version, as follows:
  
! for sqlite 2.8.6: diff attached at http://www.sqlite.org/cvstrac/tktview?tn=524
  
! for sqlite 2.8.11: diff attached at http://www.sqlite.org/cvstrac/tktview?tn=572
  
! for sqlite 2.8.13: diff attached at http://www.sqlite.org/cvstrac/tktview?tn=717
  
! for sqlite 2.8.14: diff attached at http://www.sqlite.org/cvstrac/tktview?tn=822
  
! for sqlite 2.8.15: diff attached at http://www.sqlite.org/cvstrac/tktview?tn=833
  
! for sqlite 2.8.16: diff attached at http://www.sqlite.org/cvstrac/tktview?tn=1126
  
! for sqlite 3.0.7: diff attached at http://www.sqlite.org/cvstrac/tktview?tn=930
  
! please compile as follows:
  
    unzip sqlite_source.zip
    rm tclsqlite.c
--- 43,74 ----
  
  *DJGPP (32 bit, protected memory DOS)*
  
! libsqlite.a and sqlite.exe may be made for djgpp in a similar way as with HPUX above. It compiles and
  works out of the box, with the following limitations:
  
! 1. Temporary files are not removed upon database close (journal file).
  
! 2. Files created by sqlite automatically will be correctly created only if lfn is enabled. Otherwise, lacking the journal file, the database will be open read-only.
  
! My diffs are fixing both problems, and make sqlite work very well on djgpp.
  
! To avoid overload of this page, I have attached patches to sqlite development tickets. Each patch applies for a certain sqlite version, as follows:
  
! For sqlite 2.8.6: diff attached at http://www.sqlite.org/cvstrac/tktview?tn=524
  
! For sqlite 2.8.11: diff attached at http://www.sqlite.org/cvstrac/tktview?tn=572
  
! For sqlite 2.8.13: diff attached at http://www.sqlite.org/cvstrac/tktview?tn=717
  
! For sqlite 2.8.14: diff attached at http://www.sqlite.org/cvstrac/tktview?tn=822
  
! For sqlite 2.8.15: diff attached at http://www.sqlite.org/cvstrac/tktview?tn=833
  
! For sqlite 2.8.16: diff attached at http://www.sqlite.org/cvstrac/tktview?tn=1126
  
! For sqlite 3.0.7: diff attached at http://www.sqlite.org/cvstrac/tktview?tn=930
  
! Please compile as follows:
  
    unzip sqlite_source.zip
    rm tclsqlite.c
***************
*** 92,106 ****
    RDLN_LIBS=-lreadl -lhisto
    gcc -o sqlite.exe $(RDLN_LIBS) shell.o libsqlit.a
  
! it will also do no harm to incorporate it in the main sqlite distribution.
  
! i'm sorry it has not been evident until now, so i am explicitly including the following copyright
! disclaimer, as required by sqlite author:
  
! *The author or authors of this code dedicate any and all copyright interest in this code to the public
! domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs
! and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all
! present and future rights this code under copyright law.*
  
  alex <alexbodn@012.net.il>
  
--- 80,90 ----
    RDLN_LIBS=-lreadl -lhisto
    gcc -o sqlite.exe $(RDLN_LIBS) shell.o libsqlit.a
  
! It will also do no harm to incorporate it in the main sqlite distribution.
  
! I'm sorry it has not been evident until now, so i am explicitly including the following copyright disclaimer, as required by sqlite author:
  
! *The author or authors of this code dedicate any and all copyright interest in this code to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights this code under copyright law.*
  
  alex <alexbodn@012.net.il>
  
***************
*** 122,129 ****
  
  *Visual C++ Toolkit 2003 combined with GNU Make/MSYS*
  
! For the *sqlite-source-3_0_8.zip* there's a makefile which
! can be used with MSYS combined with Visual C++.
  This makefile can be found here: http://www.elemental-programming.org/epwiki/SQLID-SQlite%20Makefile.html
  
  ====
--- 106,112 ----
  
  *Visual C++ Toolkit 2003 combined with GNU Make/MSYS*
  
! For the *sqlite-source-3_0_8.zip* there's a makefile which can be used with MSYS combined with Visual C++.
  This makefile can be found here: http://www.elemental-programming.org/epwiki/SQLID-SQlite%20Makefile.html
  
  ====
***************
*** 285,292 ****
     to sqlite build directory. Invoke (msys's) ../sqlite/configure. This
     generates a Makefile in the build directory.
  
! 7. Invoke mingw32-make to compile the resulting Makefile. (make isn't used anymore - see http://
! www.mingw.org/mingwfaq.shtml#faq-mingw32-make.exe)
  
  8. Find within the source distribution a file called sqlite.def.  Copy it
     to the build directory.
--- 268,274 ----
     to sqlite build directory. Invoke (msys's) ../sqlite/configure. This
     generates a Makefile in the build directory.
  
! 7. Invoke mingw32-make to compile the resulting Makefile. (make isn't used anymore - see http://www.mingw.org/mingwfaq.shtml#faq-mingw32-make.exe)
  
  8. Find within the source distribution a file called sqlite.def.  Copy it
     to the build directory.