Skip Masthead Links developers.sun.com   » search tips  |  Search:     
The Source for Developers
A Sun Developer Network Site
Products and Technologies
Technical Topics
Sun Microsystems
 
 
Compilers and Tools
Sun Studio C/C++/Fortran Compilers
The Sun C, C++, and Fortran compilers include advanced features for developing applications on Sun Solaris SPARC and X86 platforms. These compilers utilize a common optimizing backend code generator, and accept standard C, C++, and Fortran with extensions.
Contents
 
Latest Documentation
Technical Articles
Further Reading
Forums
 
Latest Documentation: Sun Studio 8
Compiler Manuals
  • C User's Guide
    Details the Sun C compiler's command-line options, pragma directives, supported ISO/IEC 9899:1999 features, the lint code-checking program, parallelization, and the incremental linker, ild. There are also several appendices with reference material such as ISO C data representations, implementation defined behavior, the differences between Sun C (K & R) and Sun ISO C, performance tuning, and converting applications to compile for the 64-bit environment. (March 10, 2004)
  •  
  • C++ User's Guide
    Details using the C++ compiler's command-line options, writing efficient C++ code, and working with the C++ libraries. (March 10, 2004)
  •  
  • C++ Migration Guide
    Explains what you need to know to move from 4.0, 4.0.1, 4.1, or 4.2 versions of the C++ compiler. If you are moving from still earlier 3.0 or 3.0.1 versions of the C++ compiler, the information still applies. A few additional topics specific to these older compiler versions are addressed. (March 10, 2004)
  •  
  • C++ Interval Arithmetic Programming Reference
    Documents the C++ interface to the C++ interval arithmetic library provided with the Sun C++ compilers. (March 10, 2004)
  •  
  • Fortran User's Guide
    Details the environment and command-line options for the Sun Fortran 95 compiler f95, including Fortran 77 compatibility options and parallelization. (March 10, 2004)
  •  
  • Fortran Programming Guide
    Provides information essential for programming efficient Fortran 95 applications with the Sun compiler f95. It covers topics such as Fortran 95 input/output, program development, libraries, program analysis and debugging, numerical accuracy, porting, performance, optimization, parallelization, and interoperability. (March 10, 2004)
  •  
  • Fortran Library Reference
    Describes the intrinsic functions and routines in the Sun ONE Studio Fortran libraries. (March 10, 2004)
  •  
  • Fortran 95 Interval Arithmetic Programming Reference
    Documents the intrinsic INTERVAL data types in the Sun Fortran 95 compiler (f95). (March 10, 2004)
  •  
  • Numerical Computation Guide
    Explains how to use the options and flexibility provided by Sun's floating-point environment on SPARC¨ and Intel platforms, which implement the arithmetic model specified by IEEE Standard 754 for Binary Floating Point Arithmetic. (March 10, 2004)
  •  
Command-Line Man Pages: 
  • cc - C Compiler
  • CC - C++ Compiler
  • f95 - Fortran Compiler
Release Notes
 
Developer Specifications
 
Symbol Table Entries (stabs) Interface Reference (PDF)
This document describes how the symbol table entries (stabs) generated by the compilers to support debugging are created, stored, modified, and interpreted. The discussion includes: how a compiler describes the program in stabs; how the stabs relate to the linker symbol table entries stored in the object file or executable file; what happens to stabs when the linker processes an object file; and how dbx interprets the stabs. (March 10, 2004)
 
Technical Articles
 
Further Reading
Application Performance Optimization (pdf) by Börje Lindh
This Sun Blueprints[tm] Online article provides a brief introduction to optimization on the Solaris Operating Environment.

Techniques for Optimizing Applications: High Performance Computing by Rajat P. Garg and Ilya Sharapov
This Sun Blueprints Series book is a practical guide to performance optimization of computationally intensive programs on Sun UltraSPARC[tm] platforms. It is primarily intended for developers of technical or high performance computing (HPC) applications for the Solaris operating environment.
 
 
Forums

Discuss Sun C, C++, Fortran compilers and programming with other users and Sun developers.

 
Related Links