Peter Lau wrote:
Hi there,
SQLite newbie here. I am trying to compile SQLite as a static library,
then statically compile and link with my application source.
unzip sqlite_source.zip
rm shell.c tclsqlite.c
for i in *.c; do
gcc -O -Wall -c $i
done
ar r libsqlite.a *.o
In words: you need all the files in sqlite_source.zip except for
shell.c and tclsqlite.c. Substitute appropriate commands for
"rm", "gcc", and "ar" according to which OS you are running.
--
D. Richard Hipp -- [EMAIL PROTECTED] -- 704.948.4565
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]