[distcc] DistCC on Cygwin with FreeBSD Target?

Martin Pool mbp at sourcefrog.net
Sun Jan 22 23:03:43 GMT 2006


On 22 Jan 2006, Scott Spare <scuppers at gmail.com> wrote:
> DistCC with Cygwin as the daemon and FreeBSD as the target (client):
> 
> -Compiling from the FreeBSD ports tree with distcc set as the compiler for
> variables
> C, CXX, and CPP in /etc/make.conf, the distcc daemon's running on the cygwin
> machine...

I suggest you try building something simpler (like hello world) first.

Because you have just set it to 'distcc' it's trying to run the default
compiler on the server, which may be the wrong one.   You typically need
e.g. 'distcc i383-freebsd-gcc-4.0' or carefully set DISTCCD_PATH on the
servers.

Note it is $CC not $C.

> -Compile seems to fail due to "File format not recognized" errors.  

This error is typical when you've used the remote native compiler and
therefore are trying to link a Windows object file into a free86 binary.
It doesn't fit.

-- 
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/distcc/attachments/20060123/6b462f1b/attachment.bin


More information about the distcc mailing list