Contents | Prev
| Next | Index
Command Line Switches
Canterbury Oberon-2 for JVM accepts the following command line
switches:
-
-M
-
Make: Also recompile updated dependent source files.
-
-B
-
Build: Also recompile all dependent source files.
-
-R
-
Runtime files of the "mhc.compiler.runtime.obn" package are compiled
into the current working directory without a package clause. It also requires
the -M or -B switch. This switch is useful for applets whose classes, including
those of the runtime system, are all to reside in the same current working
directory, especially when being loaded and run from a browser
environment.
-
-W0 or -W1
-
Warning messages: -W0=no -W1=yes
-
-C=n
-
Cancel after n error messages
-
-XF
-
Extended function designator usage. Enable using them in procedure calls
ignoring return value.
-
-D
-
Class file output includes local variable tables and line number tables.
Supported by most Java debuggers.
-
-JDB
-
Same as -D switch. In addition, a copy of the source file with the file
name extension ".obn.debug.java" is created. This is useful for Java debuggers
which will only recognize source files with the ".java" extension. This compiler
switch should be used in order to support the JDB debugger which is a part
of JDK 1.1.x or Java-2 SDK 1.2.x.
-
-DFN
-
Generate definition files for the current and for all imported modules.
Each definition file goes into the same directory as the one of the source
file. A definition file offers a special interface view of the module. In
this compiler, if the source module is not found, but the definition file
(generated from a previous compilation) is there, the compiler uses that
one for re-creating an internal symbol table during import, otherwise it
uses the source module and ignores the defintion file. If a Java class has
been originally created from an Oberon-2 source module, it can be distributed
with a definition file instead of a full source module file and it can then
be used or extended by other Oberon-2 developers using this compiler,
too.
Contents | Prev
| Next | Index
Canterbury Oberon-2 for JVM (Last documentation update
Jun 2, 2000)
Copyright © 1998 Mill Hill & Canterbury
Corporation, Ltd. All rights reserved
Please send any comments or corrections to
mhc@webcom.com