Here the guide to cross-compile cegcc-4.4:

1) svn co https://cegcc.svn.sourceforge.net/svnroot/cegcc/trunk/cegcc cegcc-4.4
2) cd cegcc-4.4/src; rm -rf gcc-4.3
3) mv gcc gcc-4.1.0
4) svn checkout svn://gcc.gnu.org/svn/gcc/trunk gcc-4.4
5) ln -s gcc-4.4 gcc
6) copy mingw-static.diff in cegcc-4.4/src and run patch -p0 < mingw-static.diff
7) copy build-mingw32ce-sysroot.sh in cegcc-4.4/src
8) copy mingw32ce-gcc_r143934.diff into cegcc-4.4/src/gcc-4.4 and run patch -p0 < mingw32ce-gcc_r143934.diff
9) mkdir build-mingw32ce; cd build-mingw32ce; ../build-mingw32ce-sysroot.sh -j2
10) Take a coffe
11) Then you should have in /opt/mingw32ce-4.4 a working toolchain


