Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo User (http://www.linux-archive.org/gentoo-user/)
-   -   distcc cross-compiling for OSX (http://www.linux-archive.org/gentoo-user/707904-distcc-cross-compiling-osx.html)

Kraus Philipp 09-27-2012 05:30 PM

distcc cross-compiling for OSX
 
Hello,

I have installed distccd on my Gentoo box and I would like to use it from a OSX Snow Leopard.
The distcc daemon runs on the Gentoo box and my OSX clients connect the box. I can run distcc on my OSX and it send the code to the Gentoo box and compile it.
But my cross-compiling does not work at the moment:

distcc[6233] ERROR: compile mytest.cpp on gentoo failed
distcc[6233] (dcc_build_somewhere) Warning: remote compilation of 'mytest.cpp' failed, retrying locally

I have checked the content of the directory /usr/lib/distcc/bin there are only the "local" compiler calls:

lrwxrwxrwx 1 root root 15 Sep 27 11:17 c++ -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Sep 27 11:17 cc -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Sep 27 11:17 g++ -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Sep 27 11:17 gcc -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Sep 27 11:17 x86_64-pc-linux-gnu-c++ -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Sep 27 11:17 x86_64-pc-linux-gnu-g++ -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Sep 27 11:17 x86_64-pc-linux-gnu-gcc -> /usr/bin/distcc

I think I must add a "OSX specified symbolic link".

Which tools / configuration must be set for cross-compiling OSX code on my Gentoo box?

Thanks

Phil


All times are GMT. The time now is 05:26 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.