next | previous | forward | backward | up | top | index | toc | home
Macaulay2 > how Macaulay 2 finds its files > buildHomeDirectory

buildHomeDirectory -- the directory where the Macaulay 2 program is being built

Description

When Macaulay 2 is built, i.e., is compiled, the directory tree containing the compiled (object) files may be different from the directory tree containing the source code. The build home directory is the directory in that tree named Macaulay2 and containing subdirectories called c, d, e, and dumpdata. Knowing that directory allows Macaulay2 to construct a suitable initial value for the path that allows all the source code files to be found at startup time. If building is not in progress, the value of this variable will be null.

See also

For the programmer

The object buildHomeDirectory is a string.