Changing the Scale Compiler

The Scale directory tree contans Makefiles. For these makefiles to work properly, you must use GNU make and you will need to set up some environmental variables. The makefiles operate recursively so doing

  make all
in your $SCALE/$SCALERELEASE/scale directory will compile all the parts of Scale while
  make clean
will remove all the Scale .class and .o files. You may perform these makes in sub-directories to affect just that part of the directory tree.

For the make to work you will need to make sure that a $SCALE/$SCALERELEASE/classes directory exists and is specified in both your $CLASSDEST and $CLASSPATH environmantal variables.

You may want to have SCALE and SCALEHOME refer to separate places if, for example, you want to put the Scale system in a source code repository and have separate people work on it. This allows someone to check out only part of the system and still use it. Use SCALEHOME to refer to a complete system which you build periodically.

You may want to consider setting SCALEHOST to the name of the system you are running Scale on. You would do this, for example, if you wanted to run Scale on two different Sun systems that had different operating systems.


Send questions or comments to the Scale mail list.
Return to Scale home page.
(Last changed: November 29, 2007.)