Installing eCos 1.3.1 under Linux
The latest development versions of eCos are now provided via the eCos anonymous CVS repository, and it is strongly recommended that wherever possible this mechanism is used in preference to downloading eCos 1.3.1. eCos 1.3.1 does not have the functionality, platform coverage, nor bug fixes that are available in the latest versions of eCos.Nevertheless, the eCos 1.3.1 distribution for Linux is still available to download as an archive file in RPM, bzip2 (.tar.bz2) and gzip (.tar.gz) formats. Even when using the CVS repository, it is better to have installed the v1.3.1 release first in order to set up other infrastructure. Click on one of the following links to download:
Red Hat recommend that developers who wish to add new ports or make changes to eCos itself should access the very latest eCos repository using our anonymous CVS server. Many fundamental changes have occurred since the 1.3.1 release.
Installing the eCos RPMTo install the RPM format eCos distribution, you should first ensure that you have the RPM tool. This tool is supplied by default on all Red Hat Linux distributions. The RPM must be installed by the root user, so you may need to ask your systems administrator to install it for you. To install it simply run the following command as root:
On completion, the eCos repository will be found in the directory /opt/ecos/ecos-1.3.1.
Users without root access may still be able to extract the files from the RPM by using the following command:
In this case, the files will be extracted into the directory
Under Debian Linux, the alien tool may be used to convert the RPM to a Debian .deb package.
Installing eCos from a tarballeCos can be extracted from a tarball using the following commands:
On completion, the eCos repository may be found in the directory
Downloading and installing the development toolsIn order to build the eCos sources, you will require a cross-compiler and related development tools. Instructions for downloading and building the tools vary depending on the architecture to be supported. Click on the required toolset for detailed instructions:
Setting up the eCos environmentHaving installed eCos and the development tools, the environment must be setup prior to use.