1 |
On Fri, Mar 20, 2015 at 02:02:19PM +0000, James wrote |
2 |
|
3 |
> I'm interested in exactly what you are doing, plus extending the |
4 |
> cross compile to arm architectures and running on top of clusters |
5 |
> of gentoo systems; please continue to post back what you discover. |
6 |
> For this sort of (cluster compiling) experimentation, folks build |
7 |
> custom 'frameworks' so you might have some luck adding 'framework' |
8 |
> to your keyword searches related to distributed compiling. |
9 |
|
10 |
I'm simply trying to offload compiling from my ancient, underpowered |
11 |
netbook (14 hours to build seamonkey!!!) to my desktop. I'd like to be |
12 |
able to transparently run "emerge" from the netbook, have the desktop |
13 |
machine do the grunt work, and install the compiled binaries and |
14 |
associated /etc/* files on the netbook. This assumes both machines are |
15 |
connected on my home LAN. |
16 |
|
17 |
Since you mentioned arm architectures, it's ironic that the wiki |
18 |
crossdev instructions now point to the embedded cross-compiler site |
19 |
http://www.gentoo.org/proj/en/base/embedded/handbook/ |
20 |
|
21 |
I've followed the instructions chapter 2 for installing crossdev and |
22 |
it appears to work. Note that my desktop machine is a 64-bit install... |
23 |
|
24 |
======================================================================= |
25 |
[d531][root][~] i686-pc-linux-gnu-gcc --version |
26 |
i686-pc-linux-gnu-gcc (Gentoo 4.9.2 p1.2, pie-0.6.2) 4.9.2 |
27 |
Copyright (C) 2014 Free Software Foundation, Inc. |
28 |
This is free software; see the source for copying conditions. There is NO |
29 |
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
30 |
|
31 |
[d531][root][~] echo 'int main(){return 0;}' > ctest.c |
32 |
[d531][root][~] i686-pc-linux-gnu-gcc -Wall ctest.c -o ctest |
33 |
[d531][root][~] file ctest |
34 |
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 |
35 |
[d531][root][~] |
36 |
======================================================================= |
37 |
|
38 |
I'm now reading up on... |
39 |
https://wiki.gentoo.org/wiki/Distcc/Cross-Compiling |
40 |
https://wiki.gentoo.org/wiki/Distcc |
41 |
|
42 |
...to figure out how to launch it from my netbook. |
43 |
|
44 |
-- |
45 |
Walter Dnes <waltdnes@××××××××.org> |
46 |
I don't run "desktop environments"; I run useful applications |