next up previous contents index
Next: A.14 Can I receive Up: A Frequently Asked Questions Previous: A.12 Do I have

A.13 In what programming language is TCM written?

 

This version of TCM is written in C++ and developed partly under Solaris and partly under Linux. In fact it is programmed in a subset of C++ and it tries to follow a consistent set of programming rules and recommendations. The same source tree has been compiled with the Sun CC compiler SC3.0.1 on Solaris, with GNU g++ (v. 2.6.3 and v. 2.7.2) on Linux, Solaris and HP-UX, on SunOS with the AT&T C++ compiler (v. 3.0.1), on IRIX 5.x with the Delta C++ compiler and on AIX 4.x with the xlC C++ compiler.        

With the Sun CC compiler and with the Delta C++ shared object libraries were created. The other compilations are statically linked. The reason that with g++ no shared libraries were created was because of the curious way that this compiler treats C++ templates.

TCM uses the Xlib and Xt libraries (X11R5 or X11R6) and it uses the Xm library of OSF/Motif (versions 1.2 and 2.0 both work). However, when TCM is compiled against Motif 1.2, it can not be run with Motif 2.0 and vice versa. Check the file README.TCM which Motif version is expected.


next up previous contents index
Next: A.14 Can I receive Up: A Frequently Asked Questions Previous: A.12 Do I have
Frank Dehne,Faculty of Mathematics and Computer Science, Vrije Universiteit Amsterdam
11/17/1997