Next: 4 Running LD
Up: The Logical Disk
Previous: 2 Setting up LD
The following steps describe how to compile the new version of LLD.
Since the mk_lld command links in some of the object files also
used in the old version of LLD, the old version must also be compiled
(using the VERSION_MERGER flag).
- Set up the source distribution of the Logical Disk
- Make sure that L_DISK_NAME is defined correctly
(in the file disk.h in both LLD source directories).
- Depending on which way you want to run MinixLLD, define
(or undefine) EXPLICIT_WORK. If you use the
EXPLICIT_WORK flag, also define your do_experiment() function
and the corresponding flag of the form [
name]_EXPERIMENT. The EXPLICIT_WORK and the [
name]_EXPERIMENT flags are defined in the Makefile of
both the Minix and the LLD directories.
- Make sure that the VERSION_MERGER flag is defined in
the Makefile of the LLD source directories and the command
directory.
- Compile the Minix file system by issuing make fs in
the fs directory. Ignore the linker error messages.
- Compile the MinixLLD system by issuing make lld in
either of the two LLD source directories. You will need to make
the old version of LLD for the next step.
- Make the mk_lld command by issuing make mk_lld
in the command directory.
- You are all set to run MinixLLD by itself now. If you want
to use the interactive shell, go on with the next two points.
- Make the startup command by issuing make startup
in the unix directory.
- Make the rfs command by issuing make rfs in the
unix directory.
Next: 4 Running LD
Up: The Logical Disk
Previous: 2 Setting up LD
Last changed on 28 November 1995 by Robert Grimm