The Programming Utilities Guide provides information for developers about the special built-in programming tools available in the SunOS system.
This guide is intended for application programmers who are using the Solaris 2.x system.
Readers of this guide are expected to understand the Solaris 2.x operating system, programming, and networking.
This guide has several chapters, each discussing a unique topic. Each chapter describes a tool that can aid you in programming. These include:
TNF collects trace information about a program's execution. The Trace Implementation Format lets you insert probe points into source code to collect data for analysis.
lex generates programs to be used in simple lexical analysis of text. It is a tool that solves problems by recognizing different strings of characters.
yacc generates language parsers. It imposes structure on computer input and turns it into a C language function that examines the input stream.
make automatically maintains, updates, and regenerates related programs and files.
SCCS (Source Code Control System) allows you to control access to shared files and to keep a history of changes made to a project.
m4 macro language processor creates library archives and adds or extracts files
System V make describes a version of make(1) that is compatible with older versions of the tool.
Other tools of interest, documented more completely in the SunOS Reference Manual, are listed briefly here.
Creates and maintains portable libraries or archives
Preprocesses C language directives
Disassembles object code for COFF
Dumps (displays) selected parts of an object file
Finds an ordering relation for an object library or archive
Manipulates the comments section of an ELF object file
Prints a name list of an object file
Displays the size of an object file
Removes symbols and relocation bits from an object file
Performs a topological sort
Resolves and removes ifdef'ed lines from C program source.
SunOS Reference Manual
The SunDocsSM program provides more than 250 manuals from Sun Microsystems, Inc. If you live in the United States, Canada, Europe, or Japan, you can purchase documentation sets or individual manuals using this program.
For a list of documents and how to order them, see the catalog section of SunExpress(TM) On The Internet at http://www.sun.com/sunexpress.
Command names, C code, UNIX code, system calls, header files, data structures, declarations, short examples, file names, and path names are printed in listing (constant width) font.
User input is in listing font when by itself, or bold listing font when used in combination with computer output.
Items being emphasized, variable names, and parameters are printed in italics.
Screens are used to simulate what a user will see on a video display screen or to show program source code. Data structure contents and formats are also shown in screens.
The caution sign is used to show possible harm or damage to a system, an application, a process, a piece of hardware, and so forth.
The Note sign is used to emphasize points of interest, to present parenthetical information, and to cite references to other documents and commands.