Creating an executable
``C and C++ compilation system''
describes the C and C++ compilation system, the
set of software tools that you use to generate an executable
program from C or C++ language source files.
It contains material that is of interest
to the novice and expert programmer alike.
It has been broken into two main subtopics:
-
The first section,
``Compiling and linking'',
details
the command line syntax that is used to produce a binary
representation of a program -- an executable object file.
It also describes the options that let you tailor the link
editor's behavior to your needs.
A discussion of the advantages
and disadvantages of each model is included.
-
``Libraries and header files''
focuses on the standard C library and the functions you
use for standard I/O.
It also describes the math library and libgen.
The header files that you need to include in your program
if you call a function in these libraries are listed.
``C language compilers''
provides a reference guide to the C language accepted by
the C compilation system.
``Compiler diagnostics''
lists the warning and error
messages produced by the compilers.
Check the code examples given in
``C compiler diagnostics''
when you need to clarify your understanding of the rules of syntax
and semantics summarized in
``C language compilers''.
``C++ language''
provides an introduction to the C++ language and discusses the C++ dialect
accepted by the compiler.
A description of error and warning messages produced by
the C++ compiler can be found in
``Compiler diagnostics''.
``Instantiating C++ templates''
describes manual and automatic template instantiation.
Next topic:
Advanced programming utilities
Previous topic:
Summary of contents
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005