For license terms, please read license.txt.

To compile JSDB for Win32 with GCC

1. jsdb.exe make.js jsdb.project wingcc

To compile JSDB for Win32 with the Borland C++ compiler

1. Open jsdb.project in your favorite text editor.
2. Search for "bcc55" in 3 places, and change the include and library paths as appropriate
3. jsdb.exe make.js jsdb.project win32

To compile JSDB for Linux

1. ./jsdb make.js jsdb.project linuxodbc /preview > makejsdb.csh
2. chmod +x makejsdb.csh
3. ./makejsdb.csh
4. Copy the support files to /etc/jsdb/

To compile JSDB for Linux without ODBC

1. ./jsdb make.js jsdb.project linux /preview > makejsdb.csh
2. chmod +x makejsdb.csh
3. ./makejsdb.csh
4. Copy the support files to /etc/jsdb/

The source code for JSDB is based on SpiderMonkey, with the following changes:

1. Add parenthesis around ambiguous shift operators.
2. Insert before jsobj.c#2503
     lasbobj = obj = cx->fp->scopeChain;
     if (obj) 
3. Disable __declspec(dllimport) in jstypes.h
4. Replace JSLL_INIT macros in prmjtime.c and jslong.c

JSDB is a trademark registered to Shanti Rao, who would like to hear how you use JSDB.
