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

Oracle Solaris Studio IDE

The Oracle Solaris Studio IDE is based on the NetBeans IDE, an open-source integrated development environment. The Oracle Solaris Studio IDE includes the core NetBeans IDE, the NetBeans C/C++ plugin module, and additional integrated Oracle Solaris Studio components that are not available in the open-source NetBeans IDE.

The Oracle Solaris Studio IDE uses the Oracle Solaris Studio C, C++, and Fortran compilers, the dmake build utility, and the dbx debugger. In addition, the IDE provides graphical profiling tools that use Oracle Solaris DTrace and Oracle Solaris Studio performance utilities invisibly to collect data on your running project.

Using the Oracle Solaris Studio IDE offers some advantages over development using text editors and the command line:

To start the IDE, type the following command:

% solstudio

The following figure shows the IDE with the Quote sample project running.

Screen capture showing the Oracle Solaris Studio IDE

A C or C++ or Fortran project is a group of source files and associated information about how to compile and link the source files and run the resulting program. In the IDE, you always work inside a project even if your program is contained in a single source file. The IDE stores project information in a project folder that includes a makefile and metadata files. Your source directories do not need to be physically located in the project folder.

Each project must have a makefile so the IDE can build the project. A project's makefile can be generated by the IDE or you can use a makefile that was previously created outside the IDE. You can create projects from existing sources that already include a makefile, or that build a makefile when you run configure scripts.

You can build, run, and debug projects by clicking toolbar buttons, or by selecting menu commands. The IDE is preconfigured to use the Studio C, C++, and Fortran compilers, dmake, and dbx by default. However, if you have GNU compilers on your system, the IDE can usually find them if they are on your PATH. You can use the GNU tool collection by setting the Tool Collection in your project's properties.

You can learn about using the Oracle Solaris Studio IDE by reading the IDE's integrated help, which you can access through the IDE's Help menu or by pressing the F1 key. Many dialog boxes also have a Help button for information about how to use the dialog box.

The Oracle Solaris Studio 12.2 IDE Quick Start Tutorial shows how to get started using the IDE. In addition, the tutorials on the NetBeans IDE C/C++ Learning Trail can also be helpful for learning how to use the Oracle Solaris Studio IDE, although there are some differences between the user interfaces and features. In particular, NetBeans documentation about debugging does not apply to Oracle Solaris Studio IDE.