[distcc] Cygwin and DISTCC: how do i point cygwin's distcc to the crosscompiler?

Ryan Churches ryan.churches at gmail.com
Thu May 19 23:16:55 GMT 2005


well i found a fellow named Dan Kegals website http://kegal.com and he
makes a crosscompiler script for *nix platforms that will build one to
your liking. so i installed it, and it built the cross compiler in a
few hours. very automagic when used with wget.

my problem is that i still dont understand how regular compilers work,
must less cross compilers, so while my distcc on my cygwin box is
receiving packages, i dont know how to tell it how to use my cross
compiler.

it says when the compile fail:

Quote:
then mv -f ".deps/pre_stage2_exec-bios.Tpo"
".deps/pre_stage2_exec-bios.Po"; else rm -f
".deps/pre_stage2_exec-bios.Tpo"; exit 1; fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1
-Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith
-falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os
-fno-stack-protector -fno-builtin -nostdinc -DSUPPORT_SERIAL=1
-DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1
-DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1
-DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1
-DUSE_MD5_PASSWORDS=1 -g -MT pre_stage2_exec-boot.o -MD -MP -MF
".deps/pre_stage2_exec-boot.Tpo" -c -o pre_stage2_exec-boot.o `test -f
'boot.c' || echo './'`boot.c; \
then mv -f ".deps/pre_stage2_exec-boot.Tpo"
".deps/pre_stage2_exec-boot.Po"; else rm -f
".deps/pre_stage2_exec-boot.Tpo"; exit 1; fi
distccd[1876] (dcc_execvp) ERROR: failed to exec
i686-pc-linux-gnu-gcc: No such file or directory
distcc[24636] ERROR: compile bios.c on 10.0.0.125 failed with exit code 110
make[2]: *** [pre_stage2_exec-bios.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/grub-0.96-r1/work/grub-0.96/stage2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/grub-0.96-r1/work/grub-0.96'
make: *** [all] Error 2

!!! ERROR: sys-boot/grub-0.96-r1 failed.
!!! Function src_compile, Line 118, Exitcode 2
!!! making regular stuff
!!! If you need support, post the topmost build error, NOT this status message.


i notice that the script seemed to make my crosscompiler on cygwin in
/opt/crosstool/i686-unknown-pc-linux/gcc-3.3.5-glibc-2.3.2/. now how
do i tell the cygwin install of distcc to use that compiler?


More information about the distcc mailing list