mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-20 08:19:28 +00:00
Estimated hours taken: 4 Branches: main Fix problems with the `--search-library-files-directory <dir>' option implementation: - It did not work with the high level C backend because it did not add `<dir>/Mercury/mihs' or `<dir>/Mercury/<grade>/<fullarch>/Mercury/mihs' to be searched for `.mih' files. - It did not work with intermodule optimisation and --use-grade-subdirs because it did not add grade-dependent directories to be searched for `.opt' and `.trans_opt' files. Also, it relied on <dir> to contain (symlinks to) libraries of the correct grade. When using --use-grade-subdirs, we now search for libraries in the grade-dependent subdirectory under `<dir>/Mercury'. To simplify things, we place both static and shared libraries into `<dir>/Mercury/<grade>/<fullarch>/Mercury/lib' instead of separate `<dir>/Mercury/<grade>/<fullarch>/Mercury/<ext>s' directories. compiler/handle_options.m: compiler/options.m: Make the changes above. Mark a couple of spots which will need to be updated for grade-dependent `.init' files. doc/user_guide.texi: Update documentation for `--search-library-files-directory'.
This directory contains the source for The Mercury user's guide The Mercury language reference manual The Mercury library reference manual The Prolog to Mercury transition guide The Mercury frequently asked questions list The master copy of each document is stored in texinfo format, from which the info, dvi and html versions are derived automatically. You can create postscript versions from either the dvi or html versions. Due to the large spacing in texinfo-generated dvi files, the postscript file generated from the html (manually via a browser such as xmosaic) will be considerably shorter than the one derived from the dvi file. The source for the Mercury library reference manual is generated automatically from the library source files themselves.