?? mkdll.sh
字號(hào):
#!/bin/sh## This script is used to compile SQLite into a DLL.## Two separate DLLs are generated. "sqlite3.dll" is the core# library. "tclsqlite3.dll" contains the TCL bindings and is the# library that is loaded into TCL in order to run SQLite.#make target_sourcecd tsrcPATH=$PATH:/opt/mingw/binTCLDIR=/home/drh/tcltk/846/win/846winTCLSTUBLIB=$TCLDIR/libtcl84stub.aOPTS='-DUSE_TCL_STUBS=1 -DNDEBUG=1 -DTHREADSAFE=1 -DBUILD_sqlite=1'CC="i386-mingw32msvc-gcc -O2 $OPTS -I. -I$TCLDIR"rm shell.cfor i in *.c; do CMD="$CC -c $i" echo $CMD $CMDdoneecho 'EXPORTS' >tclsqlite3.defecho 'Tclsqlite3_Init' >>tclsqlite3.defecho 'Tclsqlite_Init' >>tclsqlite3.defecho 'Sqlite3_Init' >>tclsqlite3.defecho 'Sqlite_Init' >>tclsqlite3.defi386-mingw32msvc-dllwrap \ --def tclsqlite3.def -v --export-all \ --driver-name i386-mingw32msvc-gcc \ --dlltool-name i386-mingw32msvc-dlltool \ --as i386-mingw32msvc-as \ --target i386-mingw32 \ -dllname tclsqlite3.dll -lmsvcrt *.o $TCLSTUBLIB#i386-mingw32msvc-strip tclsqlite3.dllrm tclsqlite.oi386-mingw32msvc-dllwrap \ --def sqlite3.def -v --export-all \ --driver-name i386-mingw32msvc-gcc \ --dlltool-name i386-mingw32msvc-dlltool \ --as i386-mingw32msvc-as \ --target i386-mingw32 \ -dllname sqlite3.dll -lmsvcrt *.o#i386-mingw32msvc-strip sqlite3.dllcd ..
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -