2009/8/5 JCX <jcx...@gmail.com>: > 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