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

EMX/gcc

Using EMX is covered by the main Makefile.  One patch to shell.c is
required (shell.c.patch-emx); shell.c will still compile after application
of the patch required for the OpenWatcom and VAC++ compilers.


VAC++

I've tested building the shell with VAC++ 3.6.5.  shell.c needs to be
patched with shell.c.patch-ow_vac, in addition to the patch required for
EMX.  The command I used was

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

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


OpenWatcom

Tested with OpenWatcom 1.8.  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 sqlite36.lib

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


Andrew MacIntyre
28 December, 2009
