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

EMX/gcc

Using EMX is covered by the main Makefile.  No patches need be applied
to shell.c.


VAC++

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

  icc /O shell.c sqlite.lib

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

NOTE:  In the 2.8.15 release I noted apparent problems with the /Oi 
optimisation (enabled by /O) - fixing a couple of missing _System 
references in shell.c appears to have cleared this up.


OpenWatcom

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

  wcl /onatx /oh /oi /ei /3 /fp3 shell.c sqlite.lib

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


Andrew MacIntyre
25 March 2005
