cegcc is a cross compiler for Windows CE.

I have forked cegcc to apply a few important updates for the XCSoar project.

This fork features:

Update I’m currently working on upgrading my fork to gcc 6.2 and binutils 2.27 (the latest version as of this writing, i.e. November 2016). Stay tuned.


To install on Debian Wheezy, add the following line to your /etc/apt/sources.list:

deb http://max.kellermann.name/debian wheezy main

Install the Debian package:

apt-get update
apt-get install gcc-arm-mingw32ce

The old binary tarball is obsolete.

Source code

Building cegcc

The repository cegcc-build contains the script that builds all components.

git clone git://github.com/MaxKellermann/cegcc-build
cd cegcc-build
git submodule init
git submodule update
cd build-arm-mingw32ce
./build-mingw32ce.sh --prefix=/where/to/install

There’s a README file with further instructions.