Hi.
I help my G4 mac mini with a chrooted gentoo on a i7 cross-toolchain for compile phase with distcc.
It saves me a lot of time but there is a bottleneck with link phase for big packages as libreoffice and (lately often) mozilla apps as G4 mac mini can only be stuffed till 1Go of RAM.
With the 1.7 Go swap, it achieves a result but link phase can last for hours !
Has anyone a hint on how to get around this ?
A kind of link delegation as, in my mind, distcc is a compile delegation ?
How do you cope with this limitation ?
Qemu ? Smth else ?

Have you tried cross compiling the entire package on the i7?
That does everything there.

Not everything is cross compile friendly though. If you set FEATURES="buildpkg" you would end up with a binary package, which you would install using emerge -K on the mac mini._________________Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.

Try search the forum for pump mode, or google it. You might also try add me as author in the search to see plenty distcc answers i have gave to everyone for many aspects of distcc, in fact, it could be a good idea to add that to gentoo wiki, but it will take time and that's something i don't have for now.

Thank you for being so quick to answer
But ...
Krinn, as I understand pump-mode is about compile and pre-compile phases and I need link step cure for the lack of RAM on my mac mini.
NeddySeagoon, I had the idea of doing everything on the i7 but when it came to libraries (or was it a built ppc-binary that was not easily understood by the i7 ? I don't remember well) it failed.
Could I forward objs.o, libs.so and libs.a to the i7 cross-linker from the ppc mini via a linker proxy ? Or is it hopeless ?
Thanks for reading, at least.

which got no further than a failure on gettext. Far from the end, so
I guess I am not smart enough to use cross-emerge.
Would it have succeeded, I would have prefered to let the mac-mini autonomous for things smaller than biggies as mozillas or libreoffice.
Keeping in sync portage configuration between the mini and the i7 is something I guess I will not be able to cope with efficiently.
I thought about having nfs serving my / on the mini but I guess (yes, lot of potentially bad guessing, sorry) this is dangerous.

PS
checking for working acl_get_file... cross-compiling
checking for acl... no
checking for getacl... no
checking for aclx_get... no
checking for statacl... no
configure: error: ACLs enabled but support not detected
configure: error: ./configure failed for gettext-tools

I am not sure I've done things right, as I selected gold as linker while thunderbird was compiled (not link phase yet, of course!), but googling around this I read that gold support for powerpc is poor. So my bet is I can not yet use ld.gold as my linker on this platform. What could I do about it ?

My next try : nfs + cross-ld.bfd by hand on the i7. No nuts, no glory.
EDIT: not even this I know how to do it : shared libraries and rpath while not in a chroot around the nfs mount :/