When typed at the DCL prompt, the `mpsl' command is actually a global symbol (set in slccom:userlogin.com - so everybody on SLC or MCC can use it). The mpsl symbol runs a DCL command procedure, slccom:mpsl.com, which runs the .mpsl source file given in P1 through the C preprocessor to create a .i file. The command procedure then executes the mpsl compiler, giving as its argument the name of the .i file it produced from your .mpsl source file. The mpsl compiler is run with the DCL verb `mpsl2'.
$ mpsl ap92 - mpsl is equivalent to $@slccom:mpsl.com
- mpsl.com contains the statements;
$ cc/preprocessonly ap92.mpsl
$ mpsl2 ap92.i
If instead of ``mpsl'', you type ``mpsl2''
at the DCL prompt, you can run the mpsl
compiler directly on your source file. This is considerably quicker than when
using the precompiler also, but you then cannot use #defines, #includes
or any
other precompiler directive in your source file.