Small performance optimization in sqlite3VdbeRecordCompareWithSkip() for
[sqlite.git] / tool / build-shell.sh
blob6a48299d73b5121e854bc69d4bce532051a3cd3e
1 #!/bin/sh
3 # This script demonstrates how to do a full-featured build of the sqlite3
4 # command-line shell on Linux.
6 # SQLite source code should be in a sibling directory named "sqlite". For
7 # example, put SQLite sources in ~/sqlite/sqlite and run this script from
8 # ~/sqlite/bld. There should be an appropriate Makefile in the current
9 # directory as well.
11 make sqlite3.c
12 gcc -o sqlite3 -g -Os -I. \
13 -DSQLITE_THREADSAFE=0 \
14 -DSQLITE_ENABLE_VFSTRACE \
15 -DSQLITE_ENABLE_STAT3 \
16 -DSQLITE_ENABLE_FTS4 \
17 -DSQLITE_ENABLE_RTREE \
18 -DHAVE_READLINE \
19 -DHAVE_USLEEP=1 \
20 ../sqlite/src/shell.c \
21 ../sqlite/src/test_vfstrace.c \
22 sqlite3.c -ldl -lreadline -lncurses