Instructions for setting up InOut and Numerical library ======================================================= I assume your root directory is $HOME/Modula-2 cd $HOME/Modula-2 tar -tzvf InOut.tgz tar -tzvf LibM2Num.tgz tar -tzvf praepocessor.tgz There now will be 3 directories beneath $HOME/Modula2- InOut Numerik Tools First go to InOut edit Makefile and ensure COMPILER=GM2 and InOutSys=MRI then make NOTE: Files with .m2cc extensions have some compiler directives in a very simple CPP manner - they are processed by "m2cc", the source is also in InOut (that code is ugly but does the job ;-). As a second step go to Tools and issue make -f Makefile.m2pp which will create a second preprocessor handeling the directives in all files outside of "InOut" with extension ".m2pp". These directives are in the <* IF SOME DIRECTIVE THEN *> code ... <* ELSE *> some other code ... <* END *> form where several direcives can be given in one command line. As the third step go to "Numerik" edit Makefile and ensure COMPILER=GM2 and InOutSys=MRI and that "M2PP" is really pointing to the "m2pp" excecutable generated in step two. The main differences handled by the preprocessor are the used InOut model (ISO or MRI) and handle the uncommon export clauses used by the XDS compiler then make NOTE: Here gm2 will generate quite some error messages - Complaining about 2 dimensional sub-arrays - quite some compiler crashes which I could not break down to a few lines of code so far