Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
Retrieve the distribution for your architecture from the website,
which will have name ARCH.u. To install the distribution, issue the
commands:
% mv ARCH.u DIR/. # DIR is a directory of your choice
% cd DIR
% uudecode ARCH.u
% gunzip cool.tar.gz
% tar -xf cool.tar
Next, modify `DIR/Makefile' to reflect your filesystem;
there are directions at the top of the Makefile.
Now type
% ln -s DIR /tmp/cool
% cd DIR
% gmake install
Notes
-----
1. Cool can be installed for multiple architectures sharing a common
file system. Just uudecode and untar multiple .u files in the same
directory. It is only necessary to run "gmake install" once.
2. If you want to support multiple architectures simultaneously from a
common file system, then a program 'arch' is needed that can return a string
naming the architecture on which the program runs. If you only want
to do a single architecture installation, 'arch' is not needed. See the
Makefile instructions for the details.
If you use 'arch', the students must have the 'arch' script in their
PATH (unless you use an absolute pathname for 'arch' in the top-level
Makefile). The following table lists the architecture names that are built
into the binary distributions:
for the machine . . . . . . 'arch' should return
DEC Alpha running OSF alpha
DECstation running Ultrix pmax
HP running HPUX snake
Sun 4 running SunOS sun4
Pentium running Linux i586
IBM RS/6000 running AIX rs6000
3. `spim' must be built with an absolute pathname to name the trap
handler. This distribution has been built with the directory DIR set
to /tmp/cool. The symbolic link is used to give spim a pointer to the
files it needs, regardless of where you choose to install the system.
4. `spim' does not work properly on Alphas, so you can't run the
generated MIPS code on an Alpha.