eCos Home

RedBoot Home


About eCos

Supported Hardware

Downloading and Installation

Documentation

FAQ

Mailing lists

Problems

Licensing

Anonymous CVS

Contributions and Development Projects

Legal

eCos

Installing Cygwin for use with eCos


What is Cygwin?

Cygwin is a UNIX emulation system for Microsoft Windows. It provides a UNIX emulation library which enables many UNIX tools to be ported to run on Windows easily. It also includes a selection of tools which provide a UNIX-like working environment. The Windows versions of the eCos host tools make extensive use of Cygwin and it is therefore essential to download and install Cygwin before installing eCos on Microsoft Windows.

Running the Cygwin setup program

Cygwin is most readily installed by downloading and executing the Cygwin setup program. To ensure access to all necessary Cygwin packages, the 32-bit version of the setup program must be used. Click here to download this program. Once the setup program has been downloaded and executed, the setup wizard will guide you through the installation of Cygwin. The following options in the setup wizard are recommended:

Choose a download source: Install from Internet
Root directory:C:\cygwin
Install for:All Users
Local package directory:C:\cygwin-pkg
Internet connection:Direct Connection
Download site:<select a local site>
Select packages:In addition to the packages which are installed by default from the Base category, it is essential to install the following packages:

gcc4, libexpat1, libmpc1, make, patch, sharutils, tcl, wget

Click once on the View button to select the Full view and then click once on the rotating arrows symbol against each of the above packages to select them for installation. This will also result in the automatic selection of a number of other packages on which the selected packages depend.
Create icons:<select both items>

NOTE: Recent eCos toolchains based on GCC 4.x may fail silently if the Cygwin packages libexpat1 and libmpc1 are not installed.

Once the Cygwin setup program has completed, it is possible to install eCos by invoking the Cygwin bash shell using the desktop icon or the corresponding menu item and then following the instructions on the eCos downloading and installation page.