I want to build programs with distcc
on a Raspberry Pi for my desktop (x86-64).
My idea:
- Build
crossdev-ng
on my desktop. - Build cross-compiler on my desktop to run on desktop and generate code for Pi.
- Build cross-compiler on my desktop to run on Pi and generate code for desktop with
gcc
from step 2.
How to do the last action? Is it a right way?