This guide describes how to use the Silicon Graphics® C++ compiler environment. It discusses the two native C++ compilers for producing 32- and 64-bit objects, respectively. Some of the discussion involves cfront, the C++ to C translator for the 5.2 (and earlier) versions of the operating system.
This guide contains the following chapters:
Chapter 1, “Understanding the Silicon Graphics C++ Environment,” describes the Silicon Graphics C++ environment and the issue of cfront compatibility.
Chapter 2, “Compiling, Linking, and Running C++ Programs,” describes how to compile, link, and run C++ programs in the Silicon Graphics C++ environment.
Chapter 3, “Interfaces,” contains information on linking C++ programs with libraries written in C, and vice versa.
Chapter 4, “DCC: the Delta/C++ Compiler,” describes DCC, the C++ compiler that allows you to use dynamic classes.
Chapter 5, “Smart Build,” contains information on Smart Build, a feature that allows DCC to automatically determine the nature of changes in header files between compile runs, and to recompile only what actually needs to be recompiled.
Chapter 6, “Code Examples,” provides code examples for cfront compatibility.
Chapter 7, “Common Pitfalls,” discusses some common problems with C++ libraries and how to diagnose and solve them.
Chapter 8, “Using Templates,” discusses how C++ templates are used in the Silicon Graphics C++ environment.
The glossary defines key terms for the Silicon Graphics C++ environment.
This guide assumes that you are familiar with C, C++, object-oriented programming, shared libraries, and dynamic loading.
The following manuals provide reference information about the Silicon Graphics implementation of the C++ language.
C++ Language System Overview contains an overview of newer language features of C++. Most of the extensions take the form of removing restrictions on what can be expressed in C++.
C++ Language System Product Reference Manual contains a general description of the C++ language.
C++ Language System Library discusses the iostream support in the C++ library and describes a data-type complex that provides the basic facilities for using complex arithmetic in C++.
The following manual provides related information that you may need when using the Silicon Graphics C++ environment.
MIPSpro Compiling and Performance Tuning discusses how to compile, and tune the performance of programs written in the Silicon Graphics development environment (C, Fortran, and C++).
dbx User's Guide discusses how to debug your code in the Silicon Graphics development environment.
These are the typographical and graphic conventions used in this guide:
Bold—Functions, option flags, and classes
Italics—Filenames, button names, field names, variables, emphasis, glossary terms, and IRIX commands
Regular—Menu and window names, data types, keywords, and text
“Quoted”—Menu choices
Fixed-width—Code examples and command syntax
Bold fixed-width—User input. Nonprinting <keys> are bracketed