[distcc] issue compiling from 32 bits to 64 bits ...

Roberto Alejandro Espí Muñoz teratux at gmail.com
Mon Nov 19 19:49:50 GMT 2007


I tried using distcc to compile my project from a 32 bit client to a 64 bit
host.  In the web site it says that the program can run on diferent
processors but I don't think it runs on different architectures.  The errors
I get when compiling are related to architecture specific problems, meaning
that distcc tries to compile my 32 bit optimized source code on a 64 bit
platform.

See here:
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/new:84:
error: 'operator new' takes type 'size_t' ('long unsigned int') as first
parameter
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/new:85:
error: 'operator new' takes type 'size_t' ('long unsigned int') as first
parameter
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/new:88:
error: 'operator new' takes type 'size_t' ('long unsigned int') as first
parameter
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/new:89:
error: 'operator new' takes type 'size_t' ('long unsigned int') as first
parameter
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/new:94:
error: 'operator new' takes type 'size_t' ('long unsigned int') as first
parameter
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/new:95:
error: 'operator new' takes type 'size_t' ('long unsigned int') as first
parameter

I think they're related to diferent type assignments in 32 bit compilers and
64 bit compilers

Thanks ....



-- 
teratux
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the distcc mailing list