User`s guide

4 Stand-Alone Applications
4-16
Note You can override the language choice that is determined from the
extension by using the
-lang option of mbuild. For more information about
this option, as well as all of the other
mbuild options, see the mbuild reference
page.
Locating Options Files
To locate your options file, the mbuild script searches the following:
The current directory
The
user profile directory (For more information about this directory, see
The User Profile Directory Under Windows on page 2-16.)
mbuild uses the first occurrence of the options file it finds. If no options file is
found,
mbuild searches your machine for a supported C compiler and uses the
factory default options file for that compiler. If multiple compilers are found,
you are prompted to select one.
Preparing to Compile
Compiler Restrictions
Some of the supported PC compilers have restrictions regarding their use with
the MATLAB Compiler. Refer to Supported ANSI C and C++ PC Compilers
on page 2-14 for important limitation information on the supported compilers.
Other restrictions include
Watcom 10.6 and 11.0 are not supported for building stand-alone
applications.
The Lcc C compiler does not support C++.
The only compilers that support the building of COM objects are Borland
C++Builder (versions 3.0, 4.0, 5.0, and 6.0) and Microsoft Visual C/C++
(versions 5.0, 6.0, and 7.0).