This is a collection of all the compilation tools necessary to compile an ANSI
C program, (except hardware drivers, RTOS runtime libraries and initialization
routines) for ETRAX chips (with CRIS architecture), and make "clean"
binary files of the linked output.

To configure, compile and install:
./install-cris-tools target-lib-binary-dir execution-binary-dir temp-dir man-dir info-dir

(You may specify /dev/null for any of the two last if you do not want documentation)

The compiler parts (including header files) will be installed under
target-lib-binary-dir.  The compiler tools will be installed under
execution-binary-dir.  Temporary files such as object files will be located in
temp-dir; it defaults to "./tmpdir".

You have to have write permissions in those directories.

 If you're opposed to executing unknown shell scripts, then please look in it
and execute the steps manually.  The shell script is provided as a
convenience; it checks details that must not be forgotten and produces a log
to include in email in case things go wrong.

The install script will ask a couple of obvious questions and test for file
access permissions, and presence of a previous installation.

If you encounter problems, or have questions regarding these tools, email
hp@axis.se
  Before, please look at the error-message in the log for locally induced
failures, such as "disk full".

Some compilation and installation figures (your mileage may vary):
* 1h 30 min for a AMD K6 128M intel-gnu/linux over NFS-mounted disks.
* 1h 20 min for a SparcStation 5, 128M SunOS 5.5 over NFS-mounted disks.

* Disk needs:
  7M Compiler libraries and binaries
  3M  Info and manual-pages
  30M Temporaries

Installation has been tested for Sun sparc Solaris 2.5 (SunOS 5.5)
and i586- and i686-linux-intel-libc5
It will hopefully install correctly on other Unix-type systems.

/Best regards
Axis Communications
