User`s guide

2 Installation and Configuration
2-6
Note Although the MATLAB Compiler supports the creation of stand-alone
C++ applications, it does not support the creation of C++ MEX-files.
Supported ANSI C and C++ UNIX Compilers
The MATLAB Compiler supports:
The GNU C compiler,
gcc, (except on HP and SGI64)
The system’s native ANSI C compiler on all UNIX platforms
The system’s native C++ compiler on all UNIX platforms (except Linux)
The GNU C++ compiler,
g++, on Linux.
Note For a list of all the compilers supported by MATLAB, see the
MathWorks Technical Support Department’s Technical Notes at:
http://www.mathworks.com/support/tech-notes/v5/1600/1601.shtml
Known Compiler Limitations.
There are several known restrictions regarding the
use of supported compilers:
The SGI C compiler does not handle denormalized floating-point values
correctly. Denormalized floating-point numbers are numbers that are
greater than 0 and less than the value of
DBL_MIN in the compiler’s float.h
file.
DuetoalimitationoftheGNUC++compiler(
g++) on Linux, try…catch…end
blocks do not work.
The
-A debugline:on option does not work on the GNU C++ compiler (g++)
on Linux because it uses
try…catch…end.
Compiler Options Files
The MathWorks provides options files for every supported C or C++ compiler.
These files contain the necessary flags and settings for the compiler. This table