s20-01 Ad hoc
Modula-2
Compiler settings
We use gm2 13.2.0
to compile your program with the following command:
$ gm2 -flibs=m2iso,m2pim,m2log,m2cor -fiso -fm2-whole-program -O2 {mainfile} -o {executable}
{mainfile}
is the entrypoint file (you can specify which file this is when submitting).{executable}
is the compiled executable.
File Extensions
Files with any of the following file extensions will be used: .mod
, .def
Additional information
Additional language-specific advice and information for many languages is available in the knowledge base