Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I like this use case. I've had the misfortune of trying to cross compile Python for ARM. It's very difficult, because the build process runs the freshly compiled python executable. This obviously doesn't work when you are compiling an ARM executable on an x86 machine. The answer for us was to use Scratchbox [0]. This let us run the compilation on an emulated ARM machine.

In case anyone is wondering: The actual platform was Chumby [1], and Python ran great on it. We had a little twisted [2] application that displayed images and played sound. To display the images we just wrote an image file (after using PIL to manipulate it) to /dev/fb. It was really fun! I just double checked the hardware the chumby: A 350 MHZ ARM9 processor with 64 megabytes of SDRAM. It sounds a little crazy to me now to think of transforming images using PIL in 64 megabytes of ram, but it actually worked quite well.

[0] http://www.scratchbox.org/

[1] http://en.wikipedia.org/wiki/Chumby

[2] https://twistedmatrix.com/trac/



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: