On Fri, Mar 20, 2015 at 02:02:19PM +0000, James wrote

> I'm interested in exactly what you are doing, plus extending the
> cross compile to arm architectures and running on top of clusters
> of gentoo systems; please continue to post back what you discover.
> For this sort of (cluster compiling) experimentation, folks build
> custom 'frameworks' so you might have some luck adding 'framework'
> to your keyword searches related to distributed compiling.

  I'm simply trying to offload compiling from my ancient, underpowered
netbook (14 hours to build seamonkey!!!) to my desktop.  I'd like to be
able to transparently run "emerge" from the netbook, have the desktop
machine do the grunt work, and install the compiled binaries and
associated /etc/* files on the netbook.  This assumes both machines are
connected on my home LAN.

  Since you mentioned arm architectures, it's ironic that the wiki
crossdev instructions now point to the embedded cross-compiler site
http://www.gentoo.org/proj/en/base/embedded/handbook/

  I've followed the instructions chapter 2 for installing crossdev and
it appears to work.  Note that my desktop machine is a 64-bit install...

=======================================================================
[d531][root][~] i686-pc-linux-gnu-gcc --version
i686-pc-linux-gnu-gcc (Gentoo 4.9.2 p1.2, pie-0.6.2) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[d531][root][~] echo 'int main(){return 0;}' > ctest.c
[d531][root][~] i686-pc-linux-gnu-gcc -Wall ctest.c -o ctest
[d531][root][~] file ctest
ctest: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically 
linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.32, not stripped
[d531][root][~]
=======================================================================

  I'm now reading up on...
https://wiki.gentoo.org/wiki/Distcc/Cross-Compiling
https://wiki.gentoo.org/wiki/Distcc

...to figure out how to launch it from my netbook.

-- 
Walter Dnes <[email protected]>
I don't run "desktop environments"; I run useful applications

Reply via email to