Building ojstools 0.6 under Windows NT is possible using Cygnus' Cygwin tools, which are available from http://sourceware.cygnus.com/cygwin. The ojstools source itself is available from http://acuity.cis.ohio-state.edu/ojstools/index.html. We used Cygwin B20, which includes the following GNU tools required to build ojstools: flex Cygnus version 2.5.2 GNU Bison version 1.25 g++ egcs-2.91.57 --------------------------------------------------------- Porting to Windows NT: --------------------------------------------------------- No real porting is necessary. However, to get a clean build, the makefiles should be changed to include the '.exe' extensions that Windows NT executables have. The following changes were made: jsindent/module.mk:31: jsindent_binary:=jsindent/jsindent.exe jslint/module.mk:31: jslint_binary:=jslint/jslint.exe ojsc/module.mk:35: ojsc_binary:=ojsc/ojsc.exe --------------------------------------------------------- Building --------------------------------------------------------- To build ojstools, follow these steps: 1) Start the Cywin BASH shell (run cygnus.bat from a console window). 2) Mount / to the directory just above the cygnus directory (you must unmount / if it's already mounted somewhere else). Mount /tmp to your temporary directory (usually stored in the TEMP environment variable). My cygnus directory is 'r:/cygnus', so the commands I used were: umount / mount r:/ / umount /tmp mount $TEMP /tmp After that, run 'mount' with no arguments to verify that everything is correctly mounted. My output looked like this: bash-2.02$ mount Device Directory Type Flags C:\TEMP /tmp native text!=binary r: / native text!=binary 3) Set the BISONLIB environment variable to the Cygwin 'share' directory, like this: BISONLIB=/cygnus/cygwin-b20/share Otherwise, Bison won't be able to find bison.simple, which makes it unhappy. 4) Change to the ojstools source directory and run 'make'. Everything should build happily; I saw a couple of benign warnings, but that was it. After everything has been built, run 'make clean' to remove unnecessary intermediate files. --------------------------------------------------------- Contact --------------------------------------------------------- If you have questions about these instructions, please contact bradeyh@construx.com.