Sun Java Solaris Communities My SDN Account Join SDN
 
Sun Studio

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/x64 platforms. These compilers utilize a common optimizing backend code generator, and accept standard C, C++, and Fortran with extensions.
Contents
 
Features by Release
Latest Documentation
Further Reading
Forums
 
Features By Release
View and compare features introduced by each software release for C, C++, and Fortran 95.

Latest Documentation: Sun Studio 12
Compiler Manuals
  • C User's Guide
    Details the Sun C compiler's command-line options, pragma directives, supported ISO/IEC 9899:1999 features, and the lint code-checking program. 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. (June, 2007)
  •  
  • C++ User's Guide
    Details using the C++ compiler's command-line options, writing efficient C++ code, and working with the C++ libraries. (June, 2007)
  •  
  • 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. (June, 2007)
  •  
  • C++ Interval Arithmetic Programming Reference
    Documents the C++ interface to the C++ interval arithmetic library provided with the Sun C++ compilers. (November, 2005)
  •  
  • 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. (June, 2007)
  •  
  • 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. (June, 2007)
  •  
  • Fortran Library Reference
    Describes the intrinsic functions and routines in the Sun Studio Fortran libraries. (June, 2007)
  •  
  • Fortran 95 Interval Arithmetic Programming Reference
    Documents the intrinsic INTERVAL data types in the Sun Fortran 95 compiler (f95). (November, 2005)
  •  
  • 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. (November, 2005)
 
Command-Line Man Pages: 
  • cc - C Compiler
  • CC - C++ Compiler
  • f95 - Fortran Compiler
Release Notes
 
 
 
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