mobyc --- a compiler for the Moby programming language.
mobyc file ...
The mobyc command is used to compile and link Moby programs.
RUNTIME OPTIONS The Moby runtime system recognizes a number of command-line options that allow one to configure the execution environment and to aid in debugging the compiler and runtime. The options that control runtime parameters are:
- -?, --help
Display a list of command-line options and then exit. If this option used in conjunction with the -v flag, a more detailed list of options is displayed (including internal debugging flags).
- -t, --threads
Enable the concurrency features of Moby and link with the multithreaded versions of the Moby libraries and runtime system.
- -T, --checkonly
- -S
Creates an assembly file for each named source file, but does not produce object files or executables. The assembly-file name corresponds to the name of the source file, with a ``.s'' suffix substituted for the suffix of the source file.
- -c
Creates an object file for each named source file, but does not link the object files into an executable. The object-file name corresponds to the name of the source file, with a ``.o'' suffix substituted for the suffix of the source file.
- -o outfile
Create an executable named outfile. When specified with the -S option, the -o option is ignored. If neither -o and -c are not specified, a file named ``a.out'' is produced.
- --filemap=file
Use the file as the filemap instead of the default (FILEMAP). If this option is used in conjunction with the --implicit-filemap flag, then the file map is consulted first when mapping module names to files.
- -i lib, --use=lib
Add the Moby library ``lib'' to the libraries used by the source file.
- --implicit-filemap
Use an implicit mapping from module and signature names to file names. A module or signature ``Foo'' is assumed to be defined in the file ``Foo.mby.''
- -I path
Add the directory specified by path to the search path for Moby libraries.
- -l library
Add the system library ``lib'' to the list of objects when linking.
- -L path
Add the directory specified by path to the search path for system libraries.
- --main=Module
Specifies that ``Module'' is the main module of the Moby program (the default is Main).
- --version
Print the compiler version number and then exit.
- -v
Run the compiler driver in verbose mode. This option can also be used with the --help flag to get a more detailed list of options.
charon(1)