JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Studio 12.3 Distribution Readme     Oracle Solaris Studio 12.3 Information Library
search filter icon
search icon

1. Libraries for Solaris on SPARC and x86 Platforms

2. Libraries for Linux on x86/x64 Platforms

3. Object Files

4. Link-time Executables

Oracle Solaris Studio 12.3 Distribution Readme

December 2011

This document lists the files included in Oracle Solaris Studio 12.3 that are redistributable.

Subject to the terms and limitation stated in the Oracle Technology Network License Agreement (the “Agreement”) for Oracle Solaris Studio (the “Program”), and any additional restrictions below, the following files are each a Redistributable and may be distributed with any program you develop, provided you remain in compliance with the Agreement.

1. Libraries for Solaris on SPARC and x86 Platforms

2. Libraries for Linux on x86/x64 Platforms

3. Object Files

4. Link-time Executables

The following executable is redistributable with object files and libraries that clients link into programs:

postopt is a link-time optimizer that uses profile information (-xprofile=use) to optimize .o files and archive libraries into binary executables or shared (dynamic) libraries.

You would need to ship the postopt executable with your product only when all of these conditions are met:

ISVs who perform linking at their client site normally provide a script or makefile which uses the Solaris ld as follows:

% /usr/ccs/bin/ld /isv_install_area/crti.o ...
<linker_options_.o_files_and_libraries> ... /isv_install_area/crtn.o

When using postopt, the user just needs to modify the command to replace ld with postopt, as follows:

% /isv_install_area/postopt /isv_install_area/crti.o ...
<linker_options_.o_files_and_libraries> ... /isv_install_area/crtn.o

postopt automatically calls the Solaris ld after its optimizations are complete to create the final binary executable or shared library.