From a post Peter Czanik made today;
Quote:
Actually, this last thing, compilation, what took most of my time this afternoon, compiling my favorite torrent client, 'rtorrent' took a couple of hours on EFIKA
Unfortunately, the Efika is not really up to being a compiler box :)
Right here I have a decent laptop which most of the time is serving me by having text editors and SSH sessions open, and the occasional paint package. It seems wasteful and time consuming to not use it to compile software for my Efika.
So, I decided to poke around for the 100th time for a decent, working cross-compiler/distcc/ccache setup for my laptop.
Cygwin and Mingw32 is out of the door already. It seemed almost impossible to make a working powerpc-linux-gnu crosscompiler out of the box from any source I used (Debian, Ubuntu, plain gcc, latest binutils). Distcc and ccache work fine and I compiled some test apps using the native compilers and another PC here, for Cygwin. But getting a cross-compiler that works, that seems a chore.
I put a Debian in my VirtualPC setup, and got that running and have poked around (Scratchbox, Emdebian, crosstool) and gotten absolutely nothing that works, or support seems to have been unceremoniously dropped. Most compilers built seem to focus on the PowerPC EABI which is not what Linux on the desktop uses.
I have it on good authority that SuSE has PowerPC crosscompilers and toolchains in the YaST repositories but I have yet to try it out. I am focussing on Debian as it is the one we are getting people to install from the provided Efika kernels (
at efika.info
While Genesi does a lot to encourage native development on Power machines (Pegasos/ODW, Efika) as they are more than capable, I would like to spread the load across the available machines here, regardless of architecture, and at least allow developers to develop software in their own comfortable environment.
Does anyone know of a foolproof way, and the correct method to download, compile and then enable a cross-compiler setup for - as an example - Debian Etch, such that I don't have to compile for 5 hours to get a kernel or a simple Torrent tool, something that takes all of 20 minutes on the laptop?
If we can sort this stuff out it would be great to have an article on PowerDeveloper, and package downloads for such tools so that developers can work more easily on their projects.
(the eventual goal for PowerDeveloper is using the
Grid 'automatically' but it would be great to be able to throw machines into a compile farm at home, re-use your desktop PC with Cygwin or VirtualPC/VMware while it sits idle, and suchlike).
Is anyone doing this already?
Any hints or links or tools that make it easier?
Let's try this :D