[Next] [Previous] [Up] [Top]

2.2 Running the compiler

2.2.2 Start-up Commands

Upon startup, Vortex searches for a file named .vortexrc first in the current directory, then in the user's home directory. Each line is executed as if it were typed at the Vortex prompt. If the line contains the # symbol, the part of the line between the first # and the end of the line is ignored. For example, if you want Vortex to load the program's checkpoint upon startup, you can create a .vortexrc containing the following lines:

	# put this .vortexrc in the directory where you start the compiler
load myprog.db
After .vortexrc is processed (if found), any command-line arguments are processed in order. Each command-line argument is executed as if it were typed at the Cecil> prompt.

For example, Vortex can compile a program in batch mode when invoked as follows:

% vortex "load myprog.db" make save really_quit

How to Use the Vortex Compiler and Environments - 25 MARCH 1997
[Next] [Previous] [Up] [Top]

Generated with Harlequin WebMaker