Go to main content
Oracle® Developer Studio 12.6: C++ User's Guide

Exit Print View

Updated: July 2017
 
 

3.3 Platform-specific Option Defaults

Some C++ compiler options which affect binary compatibility have default behavior that matches the platform where the compiler is running.

Oracle Linux 6

-m64 -std=c++03 -library=stdcpp

Oracle Linux 7

-m64 -std=c++03 -library=stdcpp

Oracle Solaris 10

-m32 -std=sun03 -library=Cstd

Oracle Solaris 11

-m32 -std=sun03 -library=Cstd