[distcc] How split c++ passes for MacOS X CrossCompiler

Markus Biermaier mbier at office-m.at
Tue Dec 2 13:01:18 GMT 2003


Am Dienstag den, 2. Dezember 2003, um 13:40, schrieb Benjamin Reed:

> Markus Biermaier wrote:
>
>> [Target == ControllingComputer ] > cc -v
>> Reading specs from /usr/libexec/gcc/darwin/ppc/2.95.2/specs
>> Apple Computer, Inc. version gcc-932.1, based on gcc version 2.95.2 
>> 19991024 (release)
>> [Host] > /usr/local/powerpc-apple-
>> darwin/bin/powerpc-apple-darwin-gcc -v
>> Using built-in specs.
>> Konfiguriert mit: ../gcc/configure --target=powerpc-apple-darwin 
>> --prefix=/usr/local/powerpc-apple-darwin -v
>> Thread model: single
>> gcc-Version 3.3.2
>
> GCC 3.3.2 is ABI-incompatible with 2.95.2 for C++ code.  If you're 
> working with c++, you have to have the same version of the compiler on 
> both ends.  (Also note that if you're distributing to a linuxppc box, 
> you can't use objective c with distcc either, since apple has many objc 
> changes that have not made an official mainline gcc release yet).

Thanks for the fast response.

> you have to have the same version of the compiler on both ends

OK, what can I do?
On the LinuxPC I've built:
o the gcc 3.2.2 (i686-pc-linux-gnu) and
o the CrossCompiler gcc 3.2.2 (target=powerpc-apple-darwin).

Should I try to build the gcc 3.2.2 on Darwin also?
My goal is to speed up compiling of QT (when I change some 
"configure"-options it takes hours to compile on my G3 :-( ...).

Kind regards

Markus

----------------------------------------------------------------------
M. Biermaier
Wiesengasse 15
3011  Untertullnerbach                    E-Mail: mbier AT office-m.at
Austria / Europe                      Web Site: http://www.office-m.at




More information about the distcc mailing list