----------------------------------------------------------------- running the program ----------------------------------------------------------------- When the program is compiled, you can run it without any arguments: % p3 ----------------------------------------------------------------- compiling: linux and mac os x ----------------------------------------------------------------- To compile: On linux or mac os x, define the following environment variables: JOT_ROOT=/path/to/your/jot/install on linux: ARCH=linux on mac os x: ARCH=macosx (Use export for bash, setenv for tcsh and csh). If you are using CAEN linux, the path to precompiled jot is: /afs/engin.umich.edu/class/perm/eecs487/jot Then you should be able to build the project by typing 'make'. (No need to edit the Makefile.) ----------------------------------------------------------------- compiling: windows ----------------------------------------------------------------- On Windows, you have to compile using a DOS shell, but can use cygwin or DOS for running p3. If using the pre-compiled jot libraries on CAEN, ensure that /afs/engin.umich.edu/class/perm/eecs487/ is accessible; do this by mapping a networked drive: Start menu --> My Computer --> Tools --> "Map Network Drive" Choose a letter for the drive (e.g. Z:) Enter the folder: \\afs\engin.umich.edu\class\perm\eecs487 ----------------------------------------------------------------- Edit proj3/setup.bat according to the instructions (look for 'XXX'). You need to define JOT_ROOT and the path to your proj3 directory (and VSYEAR if not using Visual Studio 8). Note that in setup.bat, slashes go backward: set JOT_ROOT=Z:\jot If you are using Visual Studio 2003, you will also need to change: set VSYEAR=2005 to: set VSYEAR=2003 ----------------------------------------------------------------- Also edit the Makefile to define JOT_ROOT (in the WIN32 section). Note slashes go forward in the Makefile: JOT_ROOT = Z:/jot ----------------------------------------------------------------- On your desktop, create a shortcut for launching a DOS shell with environment variables set for compiling p3: E.g., if your proj3 directory is H:\Private\proj3, the shortcut should have the following target: %SystemRoot%\system32\cmd.exe /k H:\Private\proj3\setup.bat Give the shortcut a reasonable name, e.g.: 'proj3' Double click the shortcut to start a DOS shell. In that shell, type "make" -- the project should compile!