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. 

Ralf 

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to