31st Dec 2007

Installing CeGCC on Ubuntu

On the CeGCC sourceforge download page, they give linux binaries, but in rpm format (not the .deb’s that Ubuntu uses), so to make this work, we need to install the rmps with alien:

sudo alien -i cegcc-cegcc-0.51.0-1.i586.rpm mandriva-cegcc-mingw32ce-0.51.0-1.i586.rpm

Once those are installed, we still aren’t finished, because the package installs to /opt/ so the binaries (arm-wince-cegcc-gcc etc.) aren’t available to us without using long complicated prefixes. So we just need to symlink the the binaries to our /usr/bin/.

sudo ln -s /opt/mingw32ce/bin/* /usr/bin/
sudo ln -s /opt/cegcc/bin/* /usr/bin/

(thanks to Pablo Rogina for the tip on symlinking)
After that, you’re all set!

3 Responses to “Installing CeGCC on Ubuntu”

  1. CeGCC Hello World | Jabasite Says:

    [...] (meaning it wants unicode and didn’t get it). To compile this source (you need to have first installed CeGCC), enter this at command [...]

  2. Cross-Compiling for Windows Mobile on Ubuntu | Jabasite Says:

    [...] Installing CeGCC on Ubuntu [...]

  3. d3ck4 Says:

    for the symlinking

    simply:

    export PATH=$PATH:/opt/cegcc/bin
    export PATH=$PATH:/opt/mingw32ce/bin

    just my 50 cent..

Leave a Reply