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

5 Libraries

5.2 Compiling libraries

By default, Vortex assumes separate compilation of libraries. In this mode, only non-library code is compiled into the gen directory (i.e., those files that are not in any library). Code for files in a library, say, my-lib, is compiled into the subdirectory my-lib of the directory determined by the string option libs_dir, e.g., ${VORTEX_HOME}/Cecil/lib.

When compiling a program, Vortex automatically checks if the libraries the program includes are up-to-date, and if not, recompiles them. The first time a library is compiled, Vortex creates the appropriate directory for its compiled code.


How to Use the Vortex Compiler - 20 JAN 97
[Next] [Previous] [Up] [Top]