Next: libutils file-system binary, Previous: libutils file-system pathnames, Up: libutils file-system [Index]
The following bindings are exported by the library (vicare
libraries)
.
Hold a list of strings representing relative or absolute directory pathnames; the strings must represent syntactically valid pathname specifications, but the directories might not exist. The list is used as search path for binary libraries serialised in FASL files, iterating from head to tail.
Files in the binary search path have pathnames formed by appending a binary library file extension to the library stem and prepending a directory from the search path to the result. Such pathnames can be constructed as follows:
(define dir-pathname (car (library-binary-search-path))) (define libstem (library-reference->filename-stem ?libref)) (define binary-pathname (directory+library-stem->library-binary-pathname dir-pathname libstem))
The value of the parameter library-binary-search-path
is composed
as follows:
$(libdir)/vicare-scheme
on 64-bit GNU+Linux systems, it is usually:
/usr/local/lib64/vicare-scheme
and on 32-bit GNU+Linux systems:
/usr/local/lib/vicare-scheme
VICARE_LIBRARY_PATH
; when set, it is expected to hold a
colon separated list of directory pathnames, in Unix–style. The list
is parsed and the directories are pepended, in the given order, in
library-binary-search-path
.
library-binary-search-path
.
vicare
is running: we can modify at will the content
of library-binary-search-path
.
Hold a list of strings representing relative or absolute directory pathnames; the strings must represent syntactically valid pathname specifications, but the directories might not exist. The list is used as search path for source libraries stored in text files (in ASCII or UTF-8 format), iterating from head to tail.
Files in the source search path have pathnames formed by appending a source library file extension to the library stem and prepending a directory from the search path to the result. Such pathnames can be constructed as follows:
(define dir-pathname (car (library-binary-search-path))) (define libstem (library-name->filename-stem ?libname)) (define source-pathname (directory+library-stem->library-source-pathname dir-pathname libstem))
The value of the parameter library-source-search-path
is composed
as follows:
VICARE_SOURCE_PATH
; when set, it is expected to hold a
colon separated list of directory pathnames, in Unix–style. The list
is parsed and the directories are prepended, in the given order, to
library-source-search-path
.
library-source-search-path
.
vicare
is running: we can modify at will the content
of library-source-search-path
.
Next: libutils file-system binary, Previous: libutils file-system pathnames, Up: libutils file-system [Index]