OLD | NEW |
1 #!/bin/sh | 1 #!/bin/sh |
2 # | 2 # |
3 # This script is used to compile SQLite into a shared library on Linux. | 3 # This script is used to compile SQLite into a shared library on Linux. |
4 # | 4 # |
5 # Two separate shared libraries are generated. "sqlite3.so" is the core | 5 # Two separate shared libraries are generated. "sqlite3.so" is the core |
6 # library. "tclsqlite3.so" contains the TCL bindings and is the | 6 # library. "tclsqlite3.so" contains the TCL bindings and is the |
7 # library that is loaded into TCL in order to run SQLite. | 7 # library that is loaded into TCL in order to run SQLite. |
8 # | 8 # |
9 make target_source | 9 make target_source |
10 cd tsrc | 10 cd tsrc |
(...skipping 12 matching lines...) Expand all Loading... |
23 fi | 23 fi |
24 done | 24 done |
25 echo gcc -shared *.o $TCLSTUBLIB -o tclsqlite3.so | 25 echo gcc -shared *.o $TCLSTUBLIB -o tclsqlite3.so |
26 gcc -shared *.o $TCLSTUBLIB -o tclsqlite3.so | 26 gcc -shared *.o $TCLSTUBLIB -o tclsqlite3.so |
27 strip tclsqlite3.so | 27 strip tclsqlite3.so |
28 rm tclsqlite.c tclsqlite.o | 28 rm tclsqlite.c tclsqlite.o |
29 echo gcc -shared *.o -o sqlite3.so | 29 echo gcc -shared *.o -o sqlite3.so |
30 gcc -shared *.o -o sqlite3.so | 30 gcc -shared *.o -o sqlite3.so |
31 strip sqlite3.so | 31 strip sqlite3.so |
32 cd .. | 32 cd .. |
OLD | NEW |