Team Ai
Modelpublic

AryaWu/sqlite

sourceHugging Faceupdated 10mo agoView on Hugging Face
0likes
build-shell.sh22 linesDownload Raw Back to tool
1#!/bin/sh2#3# This script demonstrates how to do a full-featured build of the sqlite34# command-line shell on Linux.5#6# SQLite source code should be in a sibling directory named "sqlite".  For7# example, put SQLite sources in ~/sqlite/sqlite and run this script from8# ~/sqlite/bld.  There should be an appropriate Makefile in the current9# directory as well.10#11make sqlite3.c12gcc -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 -lncurses22