Ralf Junker wrote: > Steve Friedman wrote: > >> When trying to build sqlite (latest cvs update) with the following: >> >> ../sqlite-latest/configure --disable-threadsafe --enable-tempstore=always \ >> --disable-tcl --enable-extensions \ >> CFLAGS="-g -O3 -DSQLITE_ENABLE_RTREE=1 \ >> -DTEMP_STORE=2 -DSQLITE_DEFAULT_CACHE_SIZE=1000000 \ >> -DSQLITE_DEFAULT_PAGE_SIZE=32768 \ >> -DSQLITE_OMIT_ALTERTABLE=1 \ > > From http://www.sqlite.org/compile.html: > > 1.5 Options To Omit Features > > The following options can used to reduce the size of the compiled library by > omitting optional features. This is probably only useful in embedded systems > where space is especially tight, as even with all features included the > SQLite library is relatively small. Don't forget to tell your compiler to > optimize for binary size! (the -Os option if using GCC). Telling your > compiler to optimize for size usually has a much large impact on library > footprint than employing any of these compile-time options. > > The macros in this section do not require values. The following compilation > switches all have the same effect: > -DSQLITE_OMIT_ALTERTABLE > -DSQLITE_OMIT_ALTERTABLE=1 > -DSQLITE_OMIT_ALTERTABLE=0 > > If any of these options are defined, then the same set of SQLITE_OMIT_XXX > options must also be defined when using the 'lemon' tool to generate a > parse.c file. Because of this, these options may only be used when the > library is built from source, not from the amalgamation or from the > collection of pre-packaged C files provided for non-UNIX like platforms on > the website. >
I thought that I mentioned that I built from the latest CVS code (hence the command to ./configure). I set things to 1 as a matter of habit. I did not include the output of the previous build steps since those did not return any errors. Steve _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users