Notes on the files in . These files contain binary and source distributions of tools for compiling code for the CRIS CPU used in the ETRAX and ETRAX FS chip series. Binary distributions: We recommend the binary distributions for people using i386-compatible GNU/Linux systems using the "deb" and "RPM" packages, such as the "Debian GNU/Linux", "Red Hat Linux" and "Fedora Core" systems. The binary distributions should work for respectively "Debian Sarge" and "Red Hat 7.3" and up, including all "Fedora Core" releases. See your system documentation for how to install these files. Packaged source distributions: For "Debian GNU/Linux", "Red Hat Linux" and "Fedora Core" systems that are not i386, there are source packages in the native format. For Red Hat and Fedora core, everything is contained in the cris-dist-N.M-O.src.rpm file. For "Debian GNU/Linux", there is debian-dsc/cris-dist_N.M-O.dsc. You'll also need the plain tarball sources as below. See the file debian-dsc/README. Plain "tarball" source distribution: Four tarballs are needed for most development for Axis ETRAX and ETRAX FS systems: cris-dist-N.M.tar.gz, cris-dist-glibc-N.M.tar.gz, cris-dist-linux-headers-N.M.tar.gz and cris-dist-linux-headersv32-N.M.tar.gz. See further below for installation instructions. There is a directory "old" containing old releases. Don't use them unless you're explicitly instructed to do so. Older source releases also contained an additional tarball named cris-dist-elinux-1.M.tar.gz, which is not used anymore. In the "old" directory, there's an obsolete ETRAX FS-only release named cris-dist-M.N-v32. Only source code is provided, in three files cris-dist-N.M-v32.tar.gz, cris-dist-glibc-N.M-v32.tar.gz and cris-dist-linux-headersv32-N.M-v32.tar.gz. For reference only, do not use. These files are provided as-is, without any warranty of correctness. The CRIS ports of gcc and binutils are in the official GNU/FSF sources, earliest versions appearing in releases binutils-2.12 and gcc-3.1. What we provide here are tested and supported combinations of tools and libraries, which may contain bug-fixes that have not yet appeared in official GNU/FSF releases. Here follows installation notes for the source distribution. Skip it if you install either the RPM or Debian, binary or source packages. The source distribution consists of four files. One big base tar file cris-dist-N.M.tar.gz, consists mainly of a build script and CRIS versions of: * binutils (assembler, linker, other related tools). * gcc (compiler and preprocessor) * a C runtime library with header files (no hardware support). * a few tools for creating binary files from the linked program file (which is in the ELF or a.out format). To compile any Linux-related source including the kernel, you also need the files with names like cris-dist-glibc-N.M.tar.gz, cris-dist-linux-headers-N.M.tar.gz and cris-dist-linux-headersv32-N.M.tar.gz (the last two ones for respectively ETRAX 100 LX systems and ETRAX FS systems; you may omit the one you don't need). To build, first unpack cris-dist-N.M.tar.gz. This is usually done with a command like "tar -xzf cris-dist-N.M.tar.gz". Then unpack the files cris-dist-glibc-N.M.tar.gz, cris-dist-linux-headers-N.M.tar.gz and cris-dist-linux-headersv32-N.M.tar.gz *inside* the directory cris-dist-N.M, automatically created when unpacking cris-dist-N.M.tar.gz. There is an installer script, "cris-dist-N.M/install-cris-tools". After unpacking, run that script to compile and install the utilities. A sanity check of the newly installed compiler is automatically done as part of the installation. You need a "host" or "system" GCC compiler (usually part of some "development tools" collection of packages) on your system to build this cross-compiler; if it's not called "cc" or "gcc", then call install-cris-tools as: CC=compilername /path/to/cris-dist-1.N/install-cris-tools The source distribution takes up approximately 250 MeByte on disk *before* installation. See also the file README in cris-dist-1.N for more up-to-date information. Comments and questions to compiler-contact@axis.com /Best regards, Axis Communications AB