Hello

My problem is no matter how i build sqlite - my binary is much slower than
the precompiled one on sqlite download page (about 3 - 6 times depending on
the query).

I am using sqlite3.h and sqlite3.c from the amalgamation source:

http://www.sqlite.org/sqlite-amalgamation-3070602.zip

I have added the following flags when compiling sqlite:

gcc
-s -O4 -I. -fomit-frame-pointer
-DNDEBUG
-DSQLITE_OS_WIN=1
-DSQLITE_HAVE_READLINE=0
-DSQLITE_THREADSAFE=1
-DSQLITE_TEMP_STORE=2
-DSQLITE_ENABLE_RTREE
-DSQLITE_ENABLE_FTS3
-DSQLITE_OMIT_COMPILEOPTION_DIAGS
-DSQLITE_ENABLE_COLUMN_METADATA
-DNO_TCL

I built it both with MINGW and with MSVS 2010.

Does anyone one know how to build sqlite to get the same binary as on
download page ?

Any help would be appreciated.

Thanks.

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

Reply via email to