Dec 18 2009

Cross compiling isn’t fun

A long time passed since I wrote the last entry. Sorry for that, but there were some really big problems I ran into. In the last three weeks I tried to compile some C++ source and some libraries for the ebook reader iLiad. Normally this wouldn’t be a problem, but that device uses an ARM CPU. Thus I can’t simply compile my code. No. Instead I need to cross compile anything. That means I need to compile code for an architecture that is different to the one I use.

First I tried to compile it with arm-linux-gcc, this didn’t work at all. Afterwards I used scratchbox (http://www.scratchbox.org/) and an inofficial toolchain for the iLiad. And finally, in the last week, it worked. Tanks to an advisor of mine who helped me a lot (you know who I mean :)

I am so happy that it works now. But although, it took three weeks that are now lost. Anyway. I can now proceed in caring about problems regarding my diploma thesis.