----------------------------------------------------------------- running the program ----------------------------------------------------------------- When the program is compiled, you can run it without any arguments: % p4 ----------------------------------------------------------------- compiling: Linux and Mac OS X ----------------------------------------------------------------- To compile: On Linux or Mac OS X, define the following environment variables. (Use export for bash, setenv for tcsh and csh). Linux: export ARCH=linux Mac OS X: export ARCH=macosx Either: export JOT_ROOT=/path/to/your/jot/install 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 p4. 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 proj4/setup.bat according to the instructions (look for 'XXX'). You need to define JOT_ROOT and the path to your proj4 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 p4: E.g., if your proj4 directory is H:\Private\proj4, the shortcut should have the following target: %SystemRoot%\system32\cmd.exe /k H:\Private\proj4\setup.bat Give the shortcut a reasonable name, e.g.: 'proj4' Double click the shortcut to start a DOS shell. In that shell, type "make" -- the project should compile!