Notes for compiling the SQLite shell (sqlite3.exe)
--------------------------------------------------

EMX/gcc

Using EMX is covered by the main Makefile.  No patches need be applied
to shell.c though the patched shell.c also compiles with gcc.


VAC++

I've tested building the shell with VAC++ 3.6.5.  shell.c needs to be
patched with shell.c.patch.  The command I used was

icc /O /dSQLITE_ENABLE_IOTRACE=1 shell.c sqlite3.lib

Rename shell.exe to sqlite3va.exe.  Note that the location of sqlite3.h
and sqlite3.lib on your system may require adjustment of the compiler 
command line.


OpenWatcom

Tested with OpenWatcom 1.7a.  shell.c needs to be patched as for VAC++.
The command I used was

wcl386 /oneatx /oh /oi /ei /3 /fp3 /dSQLITE_ENABLE_IOTRACE=1 shell.c sqlite3.lib

Rename shell.exe to sqlite3ow.exe.  Note that the location of sqlite3.h
and sqlite3.lib on your system may require adjustment of the compiler 
command line.


Andrew MacIntyre
13 April, 2009
