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!
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!
Posted in axim, c, pocketpc, windows mobile | 3 Comments »