How to use YACL with SGI DELTA C++

Last update: June 21st, 1997

This file provides directions on how to build YACL and its demo programs using SGI's native Delta C++ compiler.

Building YACL

Here are the steps:

You can also build a debug version of the library via the command

Known problems

The memory leak checker reports a leak of 1024 bytes in some programs, when there is no leak. This is because the SGI Delta C++ iostream classes allocate memory the first time it is needed, and this memory is only destroyed after the main program is finished. This is reported as a leak by the leak checker, because the leak checker exits when the main program does.

The template instantiation seems to be buggy. Even with a -ptall flag, some templates -- CL_Sequence in particular -- were not being instantiated. I forced the instantiation using a pragma, and that seems to work. Look for code surrounded by "#ifdef __SGI_DELTA_CC__" to find out about this.

I haven't yet been able to get YACL shared libraries to work under SGI IRIX, mainly because I don't know how to get static objects in the shared library to initialize.