mkso.sh

来自「最新的sqlite3.6.2源代码」· Shell 代码 · 共 33 行

SH
33
字号
#!/bin/sh## This script is used to compile SQLite into a shared library on Linux.## Two separate shared libraries are generated.  "sqlite3.so" is the core# library.  "tclsqlite3.so" contains the TCL bindings and is the# library that is loaded into TCL in order to run SQLite.#make target_sourcecd tsrcrm shell.cTCLDIR=/home/drh/tcltk/846/linux/846linuxTCLSTUBLIB=$TCLDIR/libtclstub8.4g.aOPTS='-DUSE_TCL_STUBS=1 -DNDEBUG=1 -DHAVE_DLOPEN=1'OPTS="$OPTS -DSQLITE_THREADSAFE=1"OPTS="$OPTS -DSQLITE_ENABLE_FTS3=1"OPTS="$OPTS -DSQLITE_ENABLE_COLUMN_METADATA=1"for i in *.c; do  if test $i != 'keywordhash.c'; then    CMD="cc -fPIC $OPTS -O2 -I. -I$TCLDIR -c $i"    echo $CMD    $CMD  fidoneecho gcc -shared *.o $TCLSTUBLIB -o tclsqlite3.sogcc -shared *.o $TCLSTUBLIB -o tclsqlite3.sostrip tclsqlite3.sorm tclsqlite.c tclsqlite.oecho gcc -shared *.o -o sqlite3.sogcc -shared *.o -o sqlite3.sostrip sqlite3.socd ..

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?