Included in this V0.1 distribution of PREDATOR are:
This will unpack the PREDATOR distribution, creating multiple directories. One of these directories is xxx, which is the root of the RCS hierarchy of source files.gzip -dc predator.tar.gz | tar -xvf -
Description | Source |
---|---|
The GNU C++ preprocessor/compiler/linker package (version 2.7.2) | ftp://prep.ai.mit.edu/pub/gnu/gcc-2.7.2.tar.gz |
The GNU make utility | ftp://prep.ai.mit.edu/pub/gnu/make-3.75.tar.gz |
Sun's JDK distribution (version 1.1.2 or higher) | http://java.sun.com/products/jdk/1.1/index.html |
RCS Source control utility | ftp://prep.ai.mit.edu/pub/gnu/rcs-5.7.tar.gz |
GNU's Flex Lexer (version 2.5.3 or higher) | ftp://prep.ai.mit.edu/pub/gnu/flex-2.5.3.tar.gz |
GNU's Bison Parser (version 1.25 or higher) | ftp://prep.ai.mit.edu/pub/gnu/bison-1.25.tar.gz |
GNU's Perl Compiler | ftp://prep.ai.mit.edu/pub/gnu/perl-5.003.tar.gz |
Once you have located all of the above utilities, you will need to modify one
or more configuration files as follows:
Save these changes by typing
You should see the response
cd xxx/code
co -l make_include.utilities
Now edit the file make_include.utilities, which is a macro-definition file for make, to correctly point to the above utilities. The variables you must redefine are JDK, MAKE, RCS, CO, CI, GCCINSTALL, GCCINCLUDES, FLEXHOME, BISONHOME, and PERLDIR. When you are done, check in the file by typing
RCS/make_include.utilities,v --> make_include.utilities
revision 1.1 (locked)
done
and entering "configuration" as the check-in message.
ci make_include.utilities
Then change the lines
cd xxx/code
co -l make_include.config
to
XXXFLAGS=$(DEBUG_FLAGS) $(STD_FLAGS)
# XXXFLAGS=$(OPT_FLAGS) $(STD_FLAGS)
Save these changes by typing
# XXXFLAGS=$(DEBUG_FLAGS) $(STD_FLAGS)
XXXFLAGS=$(OPT_FLAGS) $(STD_FLAGS)
and entering "configuration" as the check-in message.
ci make_include.config
Comment out the [relevant parts of the] following by prefixing a # before each line
you wish to change
co -l make_include.components
and set the variables SHORESRCDIR, SHOREINCLUDES,
SHORELIBPATH, SHORELIBS, SHOREFLAGS to their new
values.
### This set is for a optimized version of SHORE
SHORESRCDIR=$(PREDATOR_LAIR)/shore/aug97opt
SHOREINCLUDES=-I$(SHORESRCDIR)/include
SHORELIBPATH=-L$(SHORESRCDIR)/lib
SHORELIBS=-lsm -lcommon -lst -lfc -lm -lg++
SHOREFLAGS=-DEXTERNAL_TEMPLATES -DSM_PAGESIZE=8192 -D$(ARCH) -D$(OPSYS) -DSHOREVERSION=\"$(SHORESRCDIR)\"
and entering "configuration" as the check-in message.
ci make_include.components
Stage 3
Now you are ready to create one or more installations
of PREDATOR.