Files
mercury/INSTALL_CVS
Simon Taylor 31aba0db26 Make io.file_id compile with lcc on Linux.
Estimated hours taken: 2
Branches: main

Make io.file_id compile with lcc on Linux.

configure.in:
runtime/mercury_conf.h.in:
	Test for dev_t and ino_t.

	Require Autoconf 2.50.
	Autoconf 2.13 doesn't have AC_CHECK_TYPES, and
	AC_CHECK_TYPE is broken.

INSTALL_CVS:
	Document the required version of autoconf.

library/io.m:
	Handle systems which don't define dev_t or ino_t.

	Handle systems which implement dev_t or ino_t as
	a struct (e.g. glibc with lcc).
2003-07-26 15:22:34 +00:00

53 lines
1.6 KiB
Bash
Executable File

#!/bin/sh
#
# INSTALL_CVS - installation instructions and installation script.
# This version is for use by Mercury developers 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 (version 2.50 or later) (and hence GNU m4)
# installed.
#
# Step 0. autoconf
#
# Step 1. ./configure
#
# Step 2. mmake depend
#
# Step 3. mmake
#
# Step 4. tools/bootcheck
#
# Step 5. cd stage2 && 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 want to install without doing a boot check, then comment
# out the `tools/bootcheck' and `cd stage2' lines below. If the
# version of the compiler you checked out is buggy and you don't
# perform a boot check first, you risk installing a version of the
# compiler incapable of compiling itself. Make sure you have a
# fall-back plan if you do this.
# Note also that occasionally changes made to the compiler mean
# that installing from a stage 1 build will fail, even when the
# compiler is fine. In such cases the only way to install the
# compiler is from the stage 2 directory.
#
# If you don't want to do a parallel make, comment out the
# `parallel=-j3' line below.
parallel=-j3
autoconf &&
./configure &&
touch Mmake.params &&
touch Mercury.options &&
mmake depend $parallel &&
mmake MMAKEFLAGS=$parallel &&
tools/bootcheck $parallel &&
cd stage2 &&
mmake install MMAKEFLAGS=$parallel &&
true