Next: References(uC++) Prev: Features(uC++) Up: uC++ Top: Top

6.1.3. Requirements to run uC++

uC++ requires at least version 3.8 of dmake, which is available by anonymous ftp from the following location (remember to set your ftp mode to binary):

watmsg.uwaterloo.ca (129.97.141.9) pub/dmake/dmake38.tar.Z

Execute the following command to unpack the source:

% zcat dmake38.tar.Z | tar -xf -

To build dmake, edit the variables in file ./1/startup.h. The variable MAKESTARTUP must specify the location of the startup.mk file, which contains all the implicit recipes. This file is placed at the top level of the source directory after dmake is built. If dmake is not being installed in a public location, set the value of MAKESTARTUP to dmake-source-path/startup.mk. After setting the MAKESTARTUP variable, execute the command make in directory dmake to determine what configurations are available. A list of possible configurations will be printed. Once dmake is built, add the executable to your command path.

The current version of uC++ can be obtained by anonymous ftp from the following location (remember to set your ftp mode to binary):

watmsg.uwaterloo.ca (129.97.141.9) pub/uSystem/u++-3.4.4.tar.Z

Execute the following command to unpack the source:

% zcat u++-3.4.4.tar.Z | tar -xf -

To build uC++, edit the variables in file ./Makefile. The variable ROOT must specify the current location of the uC++ source (the path to the directory that contains the source). The variable BINDIR specifies the location where the u++ executable and other executables needed for compilation are placed. The LIBDIR variable specifies the location for the u++ runtime libraries. Both BINDIR and LIBDIR have default values. After setting at least the ROOT variable, execute the command dmake in this directory to determine what configurations are available. A list of possible configurations will be printed.

After installation is complete, there will be a number of executables created in the BINDIR location. Add this directory to your command path to access the compilation command u++, or move the u++ executable itself to a directory in your command path. Do not move the other executables in BINDIR, as the u++ executable references these executables and the runtime library via hard coded path names set at installation time.

A postscript version of the uC++ reference manual is available in the same ftp directory as u++-3.4.4.tar.Z, called u++-3.4.4.ps. It contains a copy of the uC++ documentation that has been formatted for 8.5x11 paper. This file has been made available because some people have had problems LaTeXing the documentation that comes with the uC++ distribution. Normally, it is unnecessary to retrieve this file as uC++ comes with the latex source for the reference manual.