World Library  
Flag as Inappropriate
Email this Article

Oracle Solaris Studio

Article Id: WHEBN0014107996
Reproduction Date:

Title: Oracle Solaris Studio  
Author: World Heritage Encyclopedia
Language: English
Subject: StarOffice, Profile-guided optimization, Fortran, Sun Microsystems, Illumos
Collection: C Compilers, C++ Compilers, Fortran Compilers, Free Compilers and Interpreters, Free Computer Libraries, Sun Microsystems Software
Publisher: World Heritage Encyclopedia

Oracle Solaris Studio

Oracle Solaris Studio
Developer(s) Oracle Corporation
Stable release 12.4[1] / November 11, 2014 (2014-11-11)
Operating system Solaris, OpenSolaris, RHEL, Oracle Linux[2]
Available in English, Japanese
Simplified Chinese
Type Compiler, debugger, software build, integrated development environment
License Free for download and use as described in the Sun Studio product license.

The Oracle Solaris Studio, formerly named Sun Studio, Sun WorkShop, Forte Developer, and SunPro Compilers, is a compiler suite which is Oracle Corporation's flagship software development product for the operating systems Solaris and Linux. The Oracle Solaris Studio software delivers optimizing compilers for C, C++, and Fortran, libraries, and performance analysis, and debugging tools for Solaris on SPARC, and both Solaris and Linux on x86/x64 platforms, including multi-core systems.

The Oracle Studio compiler and development tools software suite is downloadable at no charge from an Oracle website however there are many security and functionality patch updates which are only available with a support contract from Oracle.[3]

Version 12.4 adds support for compiling C++ programs as C++11.


  • Languages 1
  • Supported architectures 2
  • Components 3
  • Compiler optimizations 4
  • OpenMP 5
  • Code coverage 6
  • GCCFSS 7
  • Research platform 8
  • References 9
  • External links 10
    • Documentation 10.1


Supported architectures


The Oracle Studio software is a suite of software products that includes:

  • C, C++, and Fortran compilers and support libraries
  • dbx and frontends
  • lint
  • IDE based on NetBeans
  • Performance Analyzer[4]
  • Thread analyzer
  • Sun performance library
  • Distributed make[5]

Compiler optimizations

A common optimizing backend is used for code generation.

A high-level intermediate representation called Sun IR is used, and high-level optimizations done in the iropt (intermediate representation optimizer) component are operated at the Sun IR level. Major optimizations include:


The OpenMP shared memory parallelization API is native to all three Solaris Studio compilers.

Code coverage

Tcov, a source code coverage analysis and statement-by-statement profiling tool, comes as a standard utility with Sun Studio suite. Tcov generates exact counts of the number of times each statement in a program is executed and annotates source code to add instrumentation.

The tcov utility gives information on how often a program executes segments of code. It produces a copy of the source file, annotated with execution frequencies. The code can be annotated at the basic block level or the source line level. As the statements in a basic block are executed the same number of times, a count of basic block executions equals the number of times each statement in the block is executed.[6] The tcov utility does not produce any time-based data.


The GCC for SPARC Systems (GCCFSS) compiler uses GNU Compiler Collection's (GCC) front end with the Sun Studio compiler's code-generating back end. Thus, GCCFSS is able to handle GCC-specific compiler directives, while it is also able to take advantage of the compiler optimizations in the Sun Studio compiler's back end. This greatly facilitates the porting of GCC-based applications to SPARC systems.

GCCFSS 4.2 adds a new functionality as a cross compiler; SPARC binaries can be generated on an x86 (or x64) machine running Solaris.[7]

Research platform

Before its cancellation, the Rock would have been the first general-purpose processor to support hardware transactional memory (HTM). The Sun Studio compiler is used by a number of research projects, including Hybrid Transactional Memory (HyTM)[8] and Phased Transactional Memory (PhTM),[9] to investigate support and possible HTM optimizations.


  1. ^ Solaris Studio
  2. ^ Oracle gooses Studio compilers for Solaris, Linux
  3. ^ Oracle Solaris Studio downloads
  4. ^ "Oracle Solaris Studio 12.2: Performance Analyzer". Oracle Corporation. Retrieved 2010-09-11. 
  5. ^ "Sun Studio 12: Distributed Make (dmake)". Oracle Corporation. Retrieved 2010-09-11. 
  6. ^  
  7. ^ "Cool Tools - GCC for Sun Systems 4.2.0 as a Cross Compiler". Sun Microsystems. Retrieved 2008-07-31. 
  8. ^ "Hybrid Transactional Memory". Sun Microsystems. Retrieved 2007-11-10. 
  9. ^ "PhTM: Phased Transactional Memory". Sun Microsystems. Retrieved 2007-11-10. 

External links

  • Oracle Studio home page on Oracle Developer Network
  • Cool Tools - GCC for SPARC Systems
  • Oracle Studio Forums
  • Application Performance Tuning on Sun Platform
  • Developer Support Services from Sun Microsystems
  • Sun Studio Release History
  • downloads/index-jsp-141149.html Download Sun Studio


  • Current product documentation
  • Documentation by topic
  • Sun Studio Information Center
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.