mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-05-01 17:24:34 +00:00
Mmake, Mmake.common.in, configure.in:
Fix copyright messages.
configure.in:
Look for a version of `mc' to bootstrap with.
Check that it works.
If the best grade is `jump.gc' or `fast.gc', and
we do have a working `mc', then we need to remove
{library,compiler,profiler}/*.c, since the distributed
`asm_fast.gc' C files won't work with `jump.gc' or `fast.gc'.
If the best grade is `jump.gc' or `fast.gc', and
we don't have a working `mc', then use `none.gc' or `reg.gc'
respectively.
Mmake.common.in:
Set MC to the full path to mc, as determined by `configure'.
N.B. This means that you don't have to do
`configure --prefix=/usr/contrib' to get it to work;
plain `configure' or `configure --prefix=~/tmp' will now
work fine too.
INSTALL_CVS:
It's no longer necessary to set the MERCURY_COMPILER
environment variable to point to the bootstrap Mercury
compiler, since `configure' will automatically use the
Mercury compiler in your PATH.
Mmake.common.in:
Remove the definition of SYS_CS, since it is no longer needed.
34 lines
867 B
Bash
Executable File
34 lines
867 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# INSTALL_CVS - installation instructions and installation script.
|
|
# This version is for use after you have just checked the files out from
|
|
# the CVS archive. Note: you need a previous version of Mercury
|
|
# already installed (the CVS archive doesn't have all the necessary
|
|
# files for bootstrapping).
|
|
# You also need autoconf (and hence GNU m4) installed.
|
|
#
|
|
# Step 0. autoconf
|
|
#
|
|
# Step 1. ./configure
|
|
#
|
|
# Step 2. mmake depend
|
|
#
|
|
# Step 3. mmake
|
|
#
|
|
# Step 4. mmake install
|
|
#
|
|
# If you just want to do a `make' rather than a `make install',
|
|
# then comment out the `mmake install' line below.
|
|
# If you don't want to do a parallel make, comment out the
|
|
# `parallel=-j3' line below.
|
|
|
|
parallel=-j3
|
|
|
|
autoconf &&
|
|
./configure &&
|
|
touch Mmake.params &&
|
|
mmake depend $parallel &&
|
|
mmake MMAKEFLAGS=$parallel &&
|
|
mmake install MMAKEFLAGS=$parallel &&
|
|
true
|