User`s guide
mbuild
7-27
-lang <language>
Specify compiler language. <language>
can be c or cpp. By default, mbuild
determines which compiler (C or C++) to
use by inspection of the source file’s
extension. This option overrides that
mechanism. This option is necessary
whenyouuseanunsupportedfile
extension, or when you pass in all
.o files
and libraries.
-n
No execute mode. Print out any
commands that
mbuild would execute,
but do not actually execute any of them.
-O
Optimize the object code by including the
optimization flags listed in the options
file. If this option is specified,
mbuild
appends the value of options file variables
ending in
OPTIMFLAGS with their
corresponding base variable. Note that
optimizations are enabled by default, are
disabled by the
-g option, but are
reenabled by
-O.
-outdir <dirname>
Place any generated object, resource, or
executable files in the directory
<dirname>. Do not combine this option
with
-output if the -output option gives
a full pathname.
-output <resultname>
Create an executable named
<resultname>. An appropriate executable
extension is automatically appended.
Overrides the
mbuild default executable
naming mechanism.
Option Description