To install AE:

0. Create the directory for AE and install the two subdirectories from the
tar tape (AE and AEC).


1. Create a subdirectory for GCC (gcc).  You must obtain a copy of
gcc.  See the file README.  Do not make or install gcc yet.


2. If you have gcc version 1.36 and plan to use a MIPS processor,
apply the patch file PATCH-1.36 to the gcc-1.36 subdirectory with the
patch command:

	pushd gcc
	patch < ../PATCH-1.36
	popd


3. No matter which version of gcc you have, install the patches for AE:

	pushd gcc
	patch < ../PATCH-gcc
	popd

Note that these patches to gcc are #ifdef'ed so, unless you "make ae",
they do not affect gcc.


4. Run the configuration program in the subdirectory AE:

	pushd AE
	config.ae decstation-ae ../gcc ../AEC
	popd


5. Configure gcc for the appropriate machine, e.g.:

	pushd gcc
	config.gcc decstation-ae

Note that you must use the appropriate AE configuration (e.g.,
decstation-ae) rather than the standard configuration (e.g.,
decstation) for your machine.


6. Compile gcc in the normal manner (see gcc-1.36/INSTALL).
   To include AE, you need to say:

	make ae
	make aecrt0.o
	make install
	popd

Note that you must make aecrt0.o before installing the files.


7. Compile aec:

	pushd AEC
	make aec


If gcc complains about an unrecognized option `-AE', you probably
configured gcc for the base machine in step 5, not the AE machine,
e.g., decstation rather than decstation-ae.  Do a "make clean" and
start again at step 5.

