[distcc] Note on gcc 2.96 (server) and 3.2 (client)

Martin Pool mbp at samba.org
Fri May 16 06:03:03 GMT 2003


On 17 Apr 2003, Zoran Naskov <naskovz at yahoo.com> wrote:
> Running on Intel
>     Client: Pentium 400Mhz  256 MB RAM
>         Suse 8.1
>         GCC - 3.2
>     Server: Pentium 2x2 GHz  2GB RAM
>         RH    7.3
>         GCC 2.96
> 
> Had to put  '-D__GNUC__' in order to resolve and issue
> with /usr/include/sys/cdefs.h
> described somewhat at
> 
> http://groups.google.com/groups?q=__flexarr&hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=handler.79666.D79666.97812083317433.ackdone%40bugs.debian.org&rnum=2
> 
> After the -D the builds worked great
> 
> Z
> 
> P.S. Using Informix ESQL and Bea Tuxedo 7.0 for this
> build... works like a charm
> after defining the following before invoking make
> 
> export INFORMIXC='distcc -D__GNUC__'
> export CC='distcc -D__GNUC__'

Thanks for the note.

In general, mixing versions of gcc for  a single build seems to be
problematic (whether you're using distcc or not) but if it works for
your tree I suppose you're fine.

-- 
Martin 



More information about the distcc mailing list