📄 mkso.sh
字号:
#!/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'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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -