Skip Navigation Links | |
Exit Print View | |
![]() |
Oracle Solaris Studio 12.3: C User's Guide Oracle Solaris Studio 12.3 Information Library |
1. Introduction to the C Compiler
1.1 What's New in C Version 5.12 Oracle Solaris Studio 12.3 Release
1.3 Binary Compatibility Verification
1.4 Compiling for 64-Bit Platforms
1.8 Organization of the Compiler
1.9 C-Related Programming Tools
2. C-Compiler Implementation-Specific Information
7. Converting Applications for a 64-Bit Environment
8. cscope: Interactively Examining a C Program
A. Compiler Options Grouped by Functionality
B. C Compiler Options Reference
C. Implementation-Defined ISO/IEC C99 Behavior
E. Implementation-Defined ISO/IEC C90 Behavior
H. Oracle Solaris Studio C: Differences Between K&R C and ISO C
Be aware of the following important issues when compiling for x86 Solaris platforms.
Programs compiled with -xarch set to sse, sse2, sse2a,sse3, or beyond must be run only on platforms that provide these extensions and features.
If you compile and link in separate steps, always link using the compiler and with the same -xarch setting to ensure that the correct startup routine is linked.
Numerical results on x86 might differ from results on SPARC due to the x86 80-bit floating-point registers. To minimize these differences, use the -fstore option or compile with -xarch=sse2 if the hardware supports SSE2.
Numerical results can also differ between Solaris and Linux because the intrinsic math libraries (for example, sin(x)) are not the same.