The MegaWave2 Compiler is activated by the macro cmw2
(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 mod.c
).
If no error occurs, cmw2 mod
processes the following items:
libmymw.a
.
cmw2
has been called with the -X
option (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 libmyxmw.a
.
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, ...).
mymw
, sysmw
, W_X11R4
, mw
, tiff
or 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.