Commit Graph

12 Commits

Author SHA1 Message Date
Fergus Henderson
f3ce426725 Use ${var=default} rather than ${var:-$default}, since according
scripts/*.sh:
	Use ${var=default} rather than ${var:-$default}, since according
	to the GNU autoconf manual, the latter is not portable.
1995-05-12 15:57:16 +00:00
Fergus Henderson
c542a2e4e1 Split the init function into bite-size pieces.
scripts/mod2init.sh:
	Split the init function into bite-size pieces.
	(Otherwise the new `--procs-per-c-function 1' has the
	unfortunate side-effect of creating a very large
	init module, since the init module calls every function,
	and it is all one basic block and takes >15 minutes to compile.)
1995-04-15 08:15:55 +00:00
Fergus Henderson
5df40b0d26 Add copyright notices.
scripts/*:
	Add copyright notices.
1995-03-28 15:35:15 +00:00
Fergus Henderson
f79d5f9632 Due to a bug in the Solaris linker, we need to call the GC_INIT()
scripts/mod2init.sh, runtime/{wrapper.mod,init.h}:
        Due to a bug in the Solaris linker, we need to call the GC_INIT()
        macro from some statically linked part of the code.
        So I've modified mod2init to add an init_gc() function to the init
        file, and I've modified wrapper.mod to call it.
1995-03-18 07:51:34 +00:00
Fergus Henderson
90f7fa5864 Use files with any file extension in $prefix/lib/mercury/modules,
mod2init.sh:
	Use files with any file extension in $prefix/lib/mercury/modules,
	not just the *.mod files, because I'm changing them to be *.c
	or *.init.
1995-03-15 11:03:43 +00:00
Fergus Henderson
1e41f5abb7 Update some obsolete comments.
mod2c, mod2init.sh:
	Update some obsolete comments.
1995-03-04 15:09:17 +00:00
Fergus Henderson
0d0cd2cdf0 Fix a compile error with -s fast.
mod2init.sh:
	Fix a compile error with -s fast.
1995-03-01 14:09:40 +00:00
Fergus Henderson
8464a87805 Oops, that should have been mercury__io__run_0_0
mod2init.sh:
	Oops, that should have been mercury__io__run_0_0
	not mercury__run_0_0.
1995-03-01 09:57:27 +00:00
Fergus Henderson
106a20baa9 Change default_entry from a string to an address.
mod2init.sh:
	Change default_entry from a string to an address.
	Make mercury__run_0_0 the default default_entry.
1995-03-01 09:53:24 +00:00
Fergus Henderson
5a3e1b242f Add a script for invoking the Mercury Compiler compiled with Sicstus.
mcs.sh:
	Add a script for invoking the Mercury Compiler compiled with Sicstus.

*.sh:
	Add some documentation.
1995-02-02 13:25:43 +00:00
Fergus Henderson
9435483a8e Fix some things I forgot to fix in the last change.
mod2init:
	Fix some things I forgot to fix in the last change.
1995-02-02 13:01:18 +00:00
Fergus Henderson
7e5d4c2d89 Moved these scripts from the code directory to the scripts directory.
mgnuc.sh mod2c mod2init.sh:
	Moved these scripts from the code directory to the scripts directory.
	Changed mgnuc to use the MERCURY_C_INCL_DIR environment variable.
	Changed mod2init to use MERCURY_MOD_LIB_DIR and MERCURY_MOD_LIB_MODS.
	Changed ml to use MERCURY_C_LIB_DIR rather than MERCURY_CLIB_DIR.
1995-02-02 05:57:16 +00:00