Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/sqlite/blob/master/tool/build-shell.sh # sqlite [Ported from github.com/sqlite/sqlite] Fix bugs in and improve the interface to the ".check" command of the CLI. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `sqlite / tool / build-shell.sh` 21 lines ยท 665 bytes Raw Blame History 1 #!/bin/sh 2 # 3 # This script demonstrates how to do a full-featured build of the sqlite3 4 # command-line shell on Linux. 5 # 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. 10 # 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 ../sqlite/src/shell.c \ 20 ../sqlite/ext/misc/vfstrace.c \ 21 sqlite3.c -ldl -lreadline -lncurses