Files
mercury/doc
Peter Wang 820172bf40 Fix problems with the `--search-library-files-directory <dir>' option
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'.
2006-11-28 11:02:32 +00:00
..
2006-10-23 05:37:22 +00:00

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.