On Wed, 11 Jun 2003 22:00, you wrote:
> On Wed, 11 Jun 2003 20:56:40 +1200
>
> Christopher Sawtell <[EMAIL PROTECTED]> wrote:
> > On Wed, 11 Jun 2003 09:47, you wrote:
> > > Yeah... everyone should have a NIC, and any machine that is not
> > > currently installing should be compiling for others (it can do this
> > > no matter what distro it's currently running, can't it?).
> >
> > I would not like to guarantee the results if the C compilers and
> > libraries were not the same throughout the cluster. Please correct me
> > if I'm wrong.
>
> apparently not. from http://distcc.samba.org/
>
> "distcc does not require all machines to share a filesystem, have
> synchronized clocks, or to have the same libraries or header files
> installed. Machines can be running different operating systems, as long
> as they have compatible binary formats or cross-compilers.

Well I suppose it all depends on which part of the docos is correct. :-)
Quoting:-
http://distcc.samba.org/faq.html#mixed-gcc

Different gcc versions? 

if the host machine is using gcc 3.2, can the other machines use an older 
version of gcc ? 2.9.x for example ?
 distcc doesn't care. However, in some circumstances, particularly for C++, 
gcc object files compiled with one version of gcc are not compatible with 
those compiled by another. This is true even if they are built on the same 
machine. 

It is usually best to make sure that every compiler name maps to a reasonably 
similar version on every machine. You can either make sure that gcc is the 
same everywhere, or use a version-qualified compiler name, such as gcc-3.2 or 
i386-redhat-linux-gcc-3.2.2. 

Which seems to make good sense to me.
So all the helpers / installer need to have the same version of gcc.
The 'gcc --version' command tels me I have the current one for Gentoo, it is 
"gcc (GCC) 3.2.2"

I would therefore be, imho, a very good idea it all the machines used in the 
cluster had that version installed.

--
C. S.

Reply via email to