Software installation on UNIX

At this time the UNIX version of eCos is only available as a Sourceware release.

This means that there is no CDROM distribution, but you can download the GNUPro toolchain for UNIX and the eCos distribution for UNIX from Cygnus's Sourceware site http://sourceware.cygnus.com/ecos/.

You first need to build and install the GNUPro package for Linux. Installation and building instructions will be on the Web page.

The UNIX distribution of eCos is packaged as a compressed archive file. The Sourceware site will have both a gzipped tar archive file, ecos-1.1.tar.gz, and a tar archive file compressed with bzip2, ecos-1.1.tar.bz2 — this file is significantly smaller, but it requires that the bzip2 command be installed.

To install the tar archive in /usr/local, unbundle the archive with the following command:

$ cd /usr/local

$ gunzip --to-stdout ecos-1.1.tar.gz | tar xvf -

or

$ bunzip2 < ecos-1.1.tar.bz2 | tar xvf -

This will create the eCos source code repository in /usr/local/ecos-1.1.

At this point you are ready to configure and build a customized eCos kernel as shown in Chapter 14.