Chapter 11. Software installation

Table of Contents
Software installation on Windows
Software installation on UNIX

Software installation on Windows

If you have a CD distribution of the eCos Developer's Kit, you have received the eCos software and its supporting utilities on a single CDROM for installation on a PC-compatible computer running Windows NT 4.0, Windows 95 and Windows 98. If you use NT we recommend that you apply the NT 4.0 Service Pack 3 before installing eCos. The following components are provided:

If you have obtained the Sourceware release of eCos for Windows, you will have the distribution in a self extracting archive. Apart from the difference in medium, the installation procedure will be the same as for the CDROM-based distribution.

The software installation process involves a number of installation utilities. Some familiarity with Windows is assumed.

  1. Start installing eCos by invoking the file Setup.exe on the CDROM. This will start the installation procedure. Note that if you have the autorun feature enabled, Windows will run Setup.exe automatically.

  2. The setup program will start by offering to install the GNUPro Toolkit for your target architecture (if it is not already installed). You should click the Ok button to let this happen.

  3. You will be prompted for a path in which to install the GNUPro tools. The default will be in the \Program Files\Cygnus Solutions hierarchy (usually on drive C:), but you should make sure that you have enough disk space available on that partition (at least 174 MB for the MN10300, 182 MB for the TX39, 184 MB for the PowerPC). It will also offer to install the source code and documentation for the compiler tools. If you need the source to some run-time components, like libgcc.a, you might want to install the source code. This will greatly increase the disk space requirement for the GNUPro toolkit.

  4. The setup program will offer to install the GNU user tools. You should click the Ok button to let this happen.

  5. You will be prompted for a path in which to install the GNU user tools. The default will be in the C:\cygnus hierarchy, but you should make sure that you have at least 45 megabytes available on the chosen partition. It will then offer to install the source code and documentation for the GNU user tools. We recommend that you install the documentation, but not the source code, unless you are interested in modifying or recompiling the GNU user tools.

  6. At this point the actual eCos installation procedure will begin. You should click the Ok button to let this happen.

  7. The default path offered for eCos installation will be in the C:\cygnus hierarchy. You may change this path, and indeed you will need to change it if that partition does not have at least 67 megabytes available. (This figure is a worst case estimate; the installation might require much less space if you use a small cluster size in that partition.)

  8. You will be asked to select the program folder under which the eCos menu items will be placed. The default name is Cygnus eCos.

  9. The installation should exit normally, offering to show you the README file, which will contain any last minute information and a list of known problems detected after this document was printed. Once you exit, you can start eCos or view the online documentation by clicking the Start button and selecting Programs and then Cygnus eCos, and then choosing an option within this folder, as illustrated in Figure 11-1.

Figure 11-1. Invoking eCos from the Program menu

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