JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Studio Overview
search filter icon
search icon

Document Information


Oracle Solaris Studio 12.2 Overview

Introduction to Oracle Solaris Studio Software

Developer Workflow for Oracle Solaris Studio

Oracle Solaris Studio IDE

Oracle Solaris Studio Compilers

C Compiler

cc Command Syntax

C Documentation

C++ Compiler

CC Command Syntax

C++ Documentation

Fortran 95 Compiler

f95 Command Syntax

Fortran Documentation

C/C++/Fortran Libraries

OpenMP 3.0 for Parallel Programming

Sun Performance Library for Programs With Intensive Computation

dmake Utility for Building Applications

Tools for Detecting Errors

dbx Debugger and dbxtool

dbx on the Command Line

dbx in the IDE

dbx in dbxtool

Discover Tool for Detecting Memory Errors

Uncover Tool for Measuring Code Coverage

Tuning Application Performance

Performance Analyzer Tools

Collect Performance Data With the Collector

Examine Performance Data With the Performance Analyzer

Examine Performance Data With the er_print Utility

Analyze Multithreaded Application Performance With the Thread Analyzer

Simple Performance Optimization Tool (SPOT)

Profiling Tools in DLight

Profiling Tools in the IDE

For More Information

C/C++/Fortran Libraries

Oracle Solaris Studio compilers make use of the operating system's native libraries. The Oracle Solaris operating system provides many system libraries installed in /usr/lib, including the C runtime libc and C++ runtime libCrun libraries. The intro(3) man page describes each library and refers to additional man pages for detailed information about each library. Type man intro.3 to view the page.

Most /usr/lib libraries have a C interface. The libc and libm libraries are linked by the cc and CC compiling systems by default, so you do not need to link to them explicitly. To link any other /usr/lib system library, use the appropriate -l option with the compiler. For example, to link the libmalloc library, specify -lmalloc on the cc and CC command line at link time.

Fortran runtime libraries are provided with Oracle Solaris Studio, not with the operating systems.

Fortran programs can also use the Oracle Solaris /usr/lib libraries that have a C interface. See the Fortran Programming Guide for information about the C-Fortran interface.

See the Linker and Libraries Guide in the Oracle Solaris documentation for more information about linking libraries.