Previous: VMS Installation, Up: Implementation
The installation of CONGEN on UNIX is a very straightforward process. The files are organized so that CONGEN can be installed by either a system manager or an individual user without privilege. There are only a few steps to be taken:
zcat congen.tar.gz | tar xvfo -
You will need about 600000 blocks to restore the tar file.
The machine designation is more complicated. The program, ./congen/setcgplatform, will determine what machine you are running on. For most machines, there is only one possible machine, but on the Silicon Graphics computers, there are many possibilities based on the type of processor, operating system, compiler, instruction set architecture, and application binary interface. The SGI machine string is encoded as sgi_rchip_iO.S_ccompiler_marchitecture_aabi. The choices for each part are as follows:
The environment variable, CGPLATFORM, specifies which machine directory to use. The Perl program, ./congen/matchdir, finds the closest compatible machine directory for the environment you are running on. You can override the automatic selections by setting CGPLATFORM prior to the execution of cgdefs or at the beginning of cgdefs.
The file, cgdefs, is for the C shell, and the file, cgprofile, is for the Bourne or Korn shells. Once these files are executed, all of the commands will work.
make test.dif congen.dif
Examine those two files. The only differences you should see are file names, version numbers, dates, allocations in the heap, and execution times.