On 18 Jun 2003, Jeff <[EMAIL PROTECTED]> wrote: > I have a make target which ends up building two rather huge executables. > It compiles fast as hell thanks to distcc, but when it starts linking, > each linker is over 200M in size and brings my system to its knees. > > Does anyone know of a sneaky way prevent parallel makes when using -j?
Specify "localhost/1" in the host list. This should generally prevent distcc running more than one job locally, including links. (This will only help if the Makefile calls cc/distcc as the linker, rather than ld directly, which most makefiles do.) Or, do the linking as a separate invocation of Make. You may need to add new targets to allow this: make -j10 all-objs make all Or perhaps run the link commands in sub-makes that are executed as make -j1. (Does this work?) -- Martin __ distcc mailing list http://distcc.samba.org/ To unsubscribe or change options: http://lists.samba.org/cgi-bin/mailman/listinfo/distcc
