Critical Mass Modula-3 allows the following set of options at the command line:
-build compile and link -ship install package -clean delete derived files -find locate source files -depend output package dependencies
-g produce symbol table information for debugger -O optimize code -A disable code generation for assertions -once don't recompile to improve opaque object code -w0 .. -w3 limit compiler warning messages -Z generate coverage analysis code -profile generate profiling code
-c compile only, produce no program or library -a somelib build library somelib -o someprog build program someprog -skiplink skip the final link step
-silent produce no diagnostic output -why explain why code is being recompiled -commands list system commands as they are performed -verbose list internal steps as they are performed -debug dump internal debugging information
-help print this help message -? print this help message -version print the version number header -config print the version number header
-keep preserve intermediate and temporary files -times produce a dump of elapsed times -override include the ".m3overrides" file -x include the ".m3overrides" file -Dsymbol define symbol with the value TRUE -Dsym=val define sym with the value val -console produce a Windows CONSOLE subsystem program -gui produce a Windows GUI subsystem program -windows produce a Windows GUI subsystem program