Commit Graph

11 Commits

Author SHA1 Message Date
Fergus Henderson
2873b00e76 Fix a bug that broke grades `*.gc.prof.tr'.
Estimated hours taken: 0.25

Fix a bug that broke grades `*.gc.prof.tr'.
(This change was previously applied to the Mmakefiles
in the runtime, library, compiler, and profiler directories,
but I missed the `bytecode' directory.)

bytecode/Mmakefile:
	When deciding whether to link with -lgc or -lgc_prof,
	match against `*.gc*.prof*' rather than `*.gc*.prof'.
				 ^
1998-01-29 13:56:22 +00:00
Fergus Henderson
04b720630b Update the copyright messages so that (a) they contain the correct years
and (b) they say "Copyright (C) ... _The_ University of Melbourne".
1997-07-27 15:09:59 +00:00
Bert Thompson
dce28cf057 Added target for mdb
Estimated hours taken: 0.1

bytecode/Mmakefile:
	Added target for mdb
1997-05-29 09:48:05 +00:00
Bert Thompson
1be6aa13a3 - Removed "-static" from link line since we can't use
Estimated hours taken: 0.1

bytecode/Mmakefile
	- Removed "-static" from link line since we can't use
	  dlopen and so on with statically linked binaries.
	- Added -DDEBUGGING as C compile flag. Turn it off when
	  the bytecode interpreter is working.
	- Added "dict" module, a dictionary ADT.
1997-05-28 09:36:05 +00:00
Bert Thompson
7f1d65cad6 LIBMBI_OBJS variable was being used before its definition,
Estimated hours taken: 0.1

bytecode/Mmakefile:
	LIBMBI_OBJS variable was being used before its definition,
	hence moved it earlier.
1997-05-27 07:35:09 +00:00
Bert Thompson
afe712d198 Fixed a couple of small problems with the `tags' target.
Estimated hours taken: 0.1

bytecode/Mmakefile:
	Fixed a couple of small problems with the `tags' target.
1997-05-27 07:29:41 +00:00
Bert Thompson
1e42952101 Also generating C tags for headers.
Estimated hours taken: 0.1

bytecode/Mmakefile:
	Also generating C tags for headers.
1997-05-27 07:14:09 +00:00
Fergus Henderson
4793bb003e Add new targets libmbi.{a,so}.
Estimated hours taken: 1

bytecode/Mmakefile:
	Add new targets libmbi.{a,so}.
	In profiling grades, link with -lgc_prof rather than -lgc.

bytecode/mbi.c:
	Rename the main() function as BC_mbi_main().

bytecode/mbi_main.c:
	New file, whose main() function just calls BC_mbi_main().
1997-05-07 12:12:29 +00:00
Fergus Henderson
48103ac54c A cleanup of the bytecode stuff.
Estimated hours taken: 2

A cleanup of the bytecode stuff.

bytecode/*:
	Various changes to make it conform to our C coding standard.
	In particular:
		- fix indentation and layout, particularly of switch
		  statements;
		- use `#include "..."' rather than `#include <...>'
		  for user-defined header files

bytecode/Mmakefile:
	Avoid the use of `$^' in hard-coded rules, since it is
	not portable to non-GNU makes (many makes only allow the
	use of variables such as $*, $^, etc. in suffix rules),
	and since it is easy to avoid.
	Also add an XXX comment, since the header dependency handling
	is done twice.

bytecode/bytecode.c:
	s/BIG_ENDING/MR_BIG_ENDIAN/ and s/LITTLE_ENDING/MR_LITTLE_ENDIAN/,
	to match my recent change to runtime/conf.h.in.
	In fact every identifier in the bytecode directory ought to be
	prefixed with `MB_', but I haven't done that in this change.
1997-04-26 03:16:18 +00:00
Bert Thompson
9b8137b1d9 Small changes to Mmakefile.
Estimated hours taken: 0.1

Small changes to Mmakefile.

bytecode/Mmakefile:
	Now linking with libmer and libgc. Added $(MERCURY_DIR)/runtime
	to link path.
1997-04-24 05:16:04 +00:00
Bert Thompson
fd811ddee7 For consistency with the rest of Mercury, we use an Mmakefile in
Estimated hours taken: 2

For consistency with the rest of Mercury, we use an Mmakefile in
the bytecode directory.

bytecode/Mmakefile:
	Added Mmakefile.
1997-03-26 07:25:38 +00:00