The GNU version is actually a direct C++ compiler. It is also available for all platforms on Athena.
To use the AT&T version, type:
add c++and for the GNU version, type:
CC filename.C
add cygnus
g++ filename.C
athena% add gnuIn addition, there is an extended set of very helpful Emacs info files available. To access them, first start up Emacs:
athena% man g++
athena% emacsand inside Emacs type:
Meta-x infoWhen the info pages come up, you might want to go through the tutorial to learn how to move around; you access the tutorial by typing "h" in the info pages.
After you've gone through the tutorial, try typing:
gand then type in:
(/mit/gnu/info/dir)Topto get to the top-level GNU info pages; from there you can go to the section on "gcc" which also covers "g++".
There is not a lot of cfront specific documentation available. There is a readme file in the c++ locker which itemizes the changes from version 1.0 to version 2.0. The manual page documents the use of the CC command. Some hardcopy documentation, including the 2.0 release notes, is available in the consultants' office (11-115). If you wish, you may come over during our office hours to look at the manual. Unfortunately we only have one copy, so we can't let you remove it from the office.
For general C++ documentation, there are several books on the market. Lippman's C++ Primer is a good introduction, or look at books by Stroustrup for definitions of the evolving C++ language.
There are also interesting discussions going on in the news group comp.lang.c++.