Last update: June 20th, 1997
This file provides directions on how to build YACL and its demo programs using IBM Visual Age C++ 3.0 or later. The makefiles were contributed by Tom Satter. Thank you Tom!
Here are the steps:
0. Create and change into the directory you want to install YACL in. For example, in an OS/2 command window:
md c:\yacl
c: cd \yacl
1. Unzip the file YACL0170.ZIP, preserving directories. For example:
unzip yacl0170.zip
or, if you use pkunzip under DOS:
pkunzip -d yacl0170.zip
2. Set the environment variable YACLPATH to point to the directory in which yacl was unzipped, e.g.,
set YACLPATH=c:\yacl
3. Modify the control file. Edit the file control/ibmvacpp.ctl. In that file, set the variable ICCPATH to point to the bin directory of the compiler. Its default setting in that file is f:\ibmcpp.
4. Build the libraries. CD into the directory you chose in step 0 and issue the make command in an OS/2 command window by typing
nmake /f ibmvacpp.mak
5. Poke around in the directory structure under basedemo and uidemo; build and try out the programs there using the make files provided. Each directory in uidemo and almost every directory in basedemo contains a VAC++-specific makefile named ibmvacpp.mak which can be used for building the demo. I have provided makefiles for most of the base demos.
The makefiles and patches were contributed by Tom Satter. (Thanks, Tom!) Here are some of its quirks:
Also, I've organized the makefiles to support manual instantiation rather than automatic, because the latter caused undefined symbols. Maybe there's a way to use automatic instantiation; I'd be delighted if you can contribute makefiles for this.