User`s guide
Installing Real-Time Workshop
1-15
On UNIX. On UNIX, the Real-Time Workshop build process uses the default
compiler. The
cc compiler is the default on all platforms except SunOS, where
gcc is the default.
For further information, see Technical Note 1601, “What Compilers are
Supported?” at
http://www.mathworks.com/support/tech-notes/1600/1601.shtml.
Compiler Optimization Settings
In some very rare instances, due to compiler defects, compiler optimizations
applied to Real-Time Workshop generated code can cause the executable
program to produce incorrect results, even though the code itself is correct.
Real-Time Workshop uses the default optimization level for each supported
compiler. You can usually work around problems caused by compiler
optimizations by lowering the optimization level of the compiler, or turning off
optimizations. Refer to your compiler's documentation for information on how
to do this.