Manta compiler options

Example compile commands

typically, when still debugging and testing your Java programs, you should compile with something like this:

mantac -v -c -debug

When you have tested your Java program, and it seems to work correctly, try the following:

mantac -v -c -no_bounds -no_cast_checks

For the last file in your project, the one that contains "public static void main(String[] args)", you should omit the "-c" flag, and specify all ".o" files you want to link with. This will cause the Manta compiler to link, and to produce the executable.

An explanation of the flags that are accepted by the Manta compiler is shown below.