Files
mercury/bytecode
Fergus Henderson 68d2f1c727 Simplify the Mmakefiles. Fix a few minor latent bugs.
Estimated hours taken: 2

Simplify the Mmakefiles.  Fix a few minor latent bugs.

*/Mmakefile:
	- Factor out some common code by defining a new variable M_ENV
	  which holds settings of environment variables for mmc, mgnuc, etc.
	- For consistency, always override MERCURY_C_ALL_INCL_DIRS rather
	  than passing extra `-I' options to mgnuc.
	- Make sure to always include `$(BOEHM_GC)/include' in the search path,
	  so that it will work if we try to compile with `-O6'.
	- Make sure to always include `--cflags $(ALL_CFLAGS)' in MCS, so
	  that the EXTRA_CFLAGS etc. will get passed down to gcc via mmc.
	- Make sure that the Mmakefiles in all directories set
	  all the MC* variables: MCPI, MCSI, MCOI, MCTOI, etc.
1999-04-08 12:58:17 +00:00
..
1997-05-07 12:12:29 +00:00

This directory holds the source code for the Mercury bytecode
utilities. `mdis' is the Mercury bytecode disassembler.
`mbi' is the Mercury bytecode interpreter.
`libmbi' is the same thing, minus main().

All exported symbols defined in modules in this directory should be prefixed
with `MB_', for "Mercury Bytecode", to avoid clashes with names defined in
other packages.