The following bindings are exported by the library (vicare
libraries).
Hold #f or a string representing the absolute or relative pathname
of a directory; the string must represent a syntactically valid
pathname, but the directory might not exist. The build directory is
meant to be used when compiling libraries in the build directory of a
source package for later installation.
When the selected library locator is compile-time: the store
directory is used to search for compiled libraries. It is an error if
the library locator is compile-time and no build directory is
selected.
Under the build directory: FASL files are stored with pathnames
composed from the library stem, which is generated from the library
name. For example, if the build directory is $(builddir)/lib the
source library:
$(srcdir)/lib/vicare/posix.sls
is stored as:
$(builddir)/lib/vicare/posix.fasl
Such pathnames can be built as follows:
(define binary-pathname-0
(library-name->library-binary-pathname-in-build-directory
?libname))
(define binary-pathname-1
(library-reference->library-binary-pathname-in-build-directory
?libref))
The value of the parameter compiled-libraries-build-directory is
composed as follows:
#f.
VICARE_STORE_DIRECTORY is set and
holding an valid directory pathname: select its value as parameter
value; the directory itself might not exist.
compiled-libraries-build-directory.
vicare is running: we can modify at will the content
of compiled-libraries-build-directory.