Gentoo Archives: gentoo-user

From: Kraus Philipp <philipp.kraus@×××××××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] distcc cross-compiling for OSX
Date: Thu, 27 Sep 2012 17:28:50
Message-Id: 531B62A6-35DD-43B1-B95C-F314F6661D46@flashpixx.de
1 Hello,
2
3 I have installed distccd on my Gentoo box and I would like to use it from a OSX Snow Leopard.
4 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.
5 But my cross-compiling does not work at the moment:
6
7 distcc[6233] ERROR: compile mytest.cpp on gentoo failed
8 distcc[6233] (dcc_build_somewhere) Warning: remote compilation of 'mytest.cpp' failed, retrying locally
9
10 I have checked the content of the directory /usr/lib/distcc/bin there are only the "local" compiler calls:
11
12 lrwxrwxrwx 1 root root 15 Sep 27 11:17 c++ -> /usr/bin/distcc
13 lrwxrwxrwx 1 root root 15 Sep 27 11:17 cc -> /usr/bin/distcc
14 lrwxrwxrwx 1 root root 15 Sep 27 11:17 g++ -> /usr/bin/distcc
15 lrwxrwxrwx 1 root root 15 Sep 27 11:17 gcc -> /usr/bin/distcc
16 lrwxrwxrwx 1 root root 15 Sep 27 11:17 x86_64-pc-linux-gnu-c++ -> /usr/bin/distcc
17 lrwxrwxrwx 1 root root 15 Sep 27 11:17 x86_64-pc-linux-gnu-g++ -> /usr/bin/distcc
18 lrwxrwxrwx 1 root root 15 Sep 27 11:17 x86_64-pc-linux-gnu-gcc -> /usr/bin/distcc
19
20 I think I must add a "OSX specified symbolic link".
21
22 Which tools / configuration must be set for cross-compiling OSX code on my Gentoo box?
23
24 Thanks
25
26 Phil

Replies

Subject Author
Re: [gentoo-user] distcc cross-compiling for OSX Andrea Conti <alyf@××××.net>