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

Martin Pool <[email protected]>
Newsgroups gmane.comp.compilers.distcc
Message-ID <[email protected]>
2009/8/5 JCX <[email protected]>:
> I am sorry.
>
> The project uses three cross-compilers. The compiler paths are set
> absolutely in ".config" files, like "CC=ABSOLUTE COMPILER PATH".
> ".config" files are used by Makefile. We use make to compile the whole
> project.
>
> I think I may insert "distcc" before every compiler path in the
> ".config" file. However, this changes the original source files.
> What's more, I need to find all the ".config" files in the project.
>
> Is there any other elegant method?

A few options:

1- Move the compiler away and put a hardlink to distcc at the hardcoded location

2- Change the Makefiles to use an environment variable if it's set
rather than the value from .config

3- Change the Make setup so that the compiler is set once per distinct
scope not redundantly.

-- 
Martin <http://launchpad.net/~mbp/>
__
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.