Attempting to retry this attempt again:
GCC has a page describing the i386 and x86-64 parameters . The flag -m64indicates the generation of 64-bit code, but you will also want to specify the type of CPU with -march=i686or -march=k8or similar to use the correct set of commands.
Since distcc sends GCC command line flags, you should try adding them to the distcc command, which is run locally, and skip the remote script to set the flags.
If you test the architecture flags on your local x64 machine without distcc, just g ++, then it should provide you with the correct binaries when using distcc.
source
share