Aglet M2 Installation
_________________________________________________________________________
To Install:
Unpack the distribution file into a temporary location.
Run the installation script, "AgletM2.installer".
Unpack the executables into your chosen directory using the file "agletM2Exec.lha"
These executables are M2, M2LK, M2Err for the Compiler/Linker,
M2IDE, M2IDELogger, EdtFront, GedFront, CedFront for the IDE.
Copy some Miscellaneous Files
Also unpack the file "agletM2Miscs.lha" into this directory provides this .guide file, some GoldEd files that might
be useful for Modula-2, and a few "Name List" files for M2IDE.
Set up the directory tree for the default library modules search, "M2L:".
"M2L:" is actually a multi-assign of five subdirectories of the package base directory, one for each of the support module groups: System, Amiga, ISO, Reaction, and Sysmod.
These will be used by the various programs as a location in which to look for symbol and object files during a translation. You will need to do a multi-Assign to make it available to the executables. eg,
ASSIGN m2l: Work:M2L/System Work:M2L/Amiga Work:M2L/ISO Work:M2L/Reaction Work:M2L/Sysmod
Populate the Support Module Library Directory Tree, ie the module groups mentioned above.
Some pre-compiled object files can be extracted from the file "agletM2Objs.lha", the sources for the Definition
modules from "agletM2Defs.lha", and the Implementation modules from "agletM2Mods.lha".
Build the rest of the Object Files
Run, in order, the following Amiga OS scripts:
Execute MakeSystem.s "<basedir>/System"
AmigaPrj.s "<basedir>/Amiga"
IsoPrj.s "<basedir>/ISO"
ReactionPrj.s "<basedir>/Reaction"
SysmodPrj.s "<basedir>/Sysmod"
Choose the editor for M2IDE to use
Simply copy the file GedFront or CedFront into a file named "EdtFront", which the IDE starts up for communication with your selected editor.
-