The MegaWave2 Compiler is activated by the macro
(see description Section 5.1).
Let us suppose that you are in the directory
$MY_MEGAWAVE2/src/test (i.e. the group is
test) and that you call
cmw2 mod (i.e. the module is
mod, coded in the file
If no error occurs,
cmw2 mod processes the following items:
cmw2has been called with the
-Xoption (which means: prepare this module for XMegaWave2), an object is created which makes an interface between the module function and XMegaWave2; this object is added to a user library called
MY_MEGAWAVE2/doc/obj, which has the name
mod.doc. This document will be included into the volume 3 of the MegaWave2 guides; it explains the use of the module (syntax of the command, synopsis of the function, input/output objects, ...).
notiff. They allow the module to access to functions of the System Library, of all the public modules, of all your private modules and of the Wdevice facilities (window toolkit). If there are shared libraries for your machine architecture, you will save a lot of disk space.