1 |
On Sunday 03 April 2005 13:18, Andrew de Quincey wrote: |
2 |
> On Sunday 03 April 2005 11:35, Stuart Longland wrote: |
3 |
> > Andrew de Quincey wrote: |
4 |
> > > On Sunday 03 April 2005 03:10, Andrew Gaffney wrote: |
5 |
> > >>Andrew de Quincey wrote: |
6 |
> > >>>Hi, I hope this is the correct place to send this. |
7 |
> > >>> |
8 |
> > >>>I have setup distcc in my network. Most of the hosts are i686, but one |
9 |
> > >>> of them is x86_64. I wish to distribute tasks to the i686 machines |
10 |
> > >>> from the x86_64 machine. This involves installing a cross compiler on |
11 |
> > >>> the i686 machines for x86_64 tasks. Crossdev is overkill for this - I |
12 |
> > >>> don't actually _need_ glibc and the like on the client machines for a |
13 |
> > >>> simple distcc environment. It really adds to the upgrade time when |
14 |
> > >>> emerge sync; emerge worlding. |
15 |
> > >> |
16 |
> > >>crossdev -s1 -t <x86_64 CHOST> |
17 |
> > > |
18 |
> > > According to the docs, that doesn't compile a c++ compiler: |
19 |
> > > |
20 |
> > > -s1, --stage1 Build a C compiler (no libc/C++) |
21 |
> > |
22 |
> > And guess what... no libc... no c++. If you require a C++ compiler, |
23 |
> > then might I suggest making a µClibc-based toolchain? µClibc is just a |
24 |
> > little smaller than it's GNU cousin, and so shouldn't occupy much space. |
25 |
> |
26 |
> I have it running right now with *no* libc and g++. There is no reason to |
27 |
> need a libc, apart from the fact that you cannot confiure g++ to build |
28 |
> without patching it. I have just distcc compiled kdlibs with this |
29 |
> configuration. |
30 |
> |
31 |
> Have you actually tried the patch? This is precisely what it does - g++ |
32 |
> with no libc. |
33 |
> |
34 |
> The files installed with the patch are in the attached file. I could |
35 |
> perhaps trim it more - there is no need for the include files either with |
36 |
> distcc. |
37 |
|
38 |
Oh - the only cross packages I have installed for a fully working distcc are: |
39 |
|
40 |
cross-x86_64-pc-linux-gnu/binutils * |
41 |
cross-x86_64-pc-linux-gnu/gcc * |
42 |
|
43 |
Where gcc contains just the files I listed previously. |
44 |
|
45 |
-- |
46 |
gentoo-dev@g.o mailing list |