Re: How to use distcc in a project using more than one cross-compiler?

JCX <[email protected]>
Newsgroups gmane.comp.compilers.distcc
Message-ID <[email protected]>
Thanks for all your help.

I will try this method.

Best wishes,
Caixia

2009/8/5 Fergus Henderson <[email protected]>:
> On Wed, Aug 5, 2009 at 2:56 AM, JCX <[email protected]> wrote:
>>
>> Thanks for your help.
>> However, I still have several questions.
>>
>>
>> 2009/8/5 Martin Pool <[email protected]>:
>> > A few options:
>> >
>> > 1- Move the compiler away and put a hardlink to distcc at the hardcoded
>> > location
>>
>> This project uses three cross-compilers. So, how can I put a hardlink
>> to distcc? I know to put a hardlink from one cross-compiler to distcc.
>
> Suppose your three cross-compilers are /foo/cc1, /bar/cc2, and /baz/cc3.
> Then do
>      mv /foo/cc1 /foo/cc1.orig
>      ln /usr/bin/distcc /foo/cc1
>      mv /bar/cc2 /bar/cc2.orig
>      ln /usr/bin/distcc /bar/cc2
>      mv /baz/cc3 /baz/cc3.orig
>      ln /usr/bin/distcc /baz/cc3
>
> Do that only on the distcc client, not on the distcc servers.
>
> But before trying that (masquerading), I would first try just replacing
>
>    CC=/ABSOLUTE/COMPILER/PATH
> in your config files with
>
>    CC="distcc /ABSOLUTE/COMPILER/PATH"
>
> and see if that works, or if it can be made to work with minor modifications
> to the Makefiles.
> --
> Fergus Henderson <[email protected]>
>
__
distcc mailing list            http://distcc.samba.org/
To unsubscribe or change options:
https://lists.samba.org/mailman/listinfo/distcc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.