User`s guide
4 Stand-Alone Applications
4-20
specific needs and save the modified file. This sets your default compiler’s
options file to your specific version. Table 4-3, Compiler Options Files on the
PC, lists the names of the PC options files included in this release of MATLAB.
If you need to see which options
mbuild passes to your compiler and linker, use
the verbose option,
-v, as in
mbuild -v filename1 [filename2 ...]
to generate a list of all the current compiler settings used by mbuild. To change
the options, use an editor to make changes to your options file that corresponds
to your compiler. You can also embed the settings obtained from the verbose
option into an integrated development environment (IDE) or makefile that you
need to maintain outside of MATLAB. Often, however, it is easier to call
mbuild
from your makefile. See your system documentation for information on writing
makefiles.
Note Any changes that you make to the local options file compopts.bat will
be overwritten the next time you run
mbuild -setup. If you want to make
your edits persist through repeated uses of
mbuild -setup, you must edit the
master file itself. The master options files are also located in <matlab>\bin.
Table 4-3: Compiler Options Files on the PC
Compiler Master Options File
Borland C++Builder, Version 3.0
bcc53compp.bat
Borland C++Builder, Version 4.0
bcc54compp.bat
Borland C++Builder, Version 5.0
bcc55compp.bat
Borland C++Builder, Version 6.0
bcc56compp.bat
Lcc C, Version 2.4
lccopts.bat
Microsoft Visual C/C++, Version 5.0
msvc50compp.bat