On Mon, Jul 10, 2006 at 05:56:42PM +1000, Martin Pool wrote: > On 10 Jul 2006, James Stanley <[EMAIL PROTECTED]> wrote: > > On Monday 10 July 2006 00:43, Martin Pool wrote: > > > On 9 Jul 2006, James Stanley <[EMAIL PROTECTED]> wrote: > > > > Something like this? > > > > > > More like > > > > > > distcc g++ -o file1.o file1.cpp [myparameters] & > > > distcc g++ -o file2.o file2.cpp [myparameters] & > > > distcc g++ -o file3.o file3.cpp [myparameters] & > > > wait; wait; wait > > > ld -o executable file1.o file2.o file3.o > > So that would do three compiles with distcc, then wait for them to finish, > > then link them. Just out of interest, how does wait know which three > > processes I want to wait for? The last three I started? > > Yes. See the shell manual.
In there you can read that one `wait' would be enough. ;-) #v+ $ date; sleep 4 & sleep 7 & sleep 2 & sleep 3 & wait; date Mo Jul 10 11:22:49 CEST 2006 [1] 1433 [2] 1434 [3] 1435 [4] 1436 [1] Done sleep 4 [3]- Done sleep 2 [4]+ Done sleep 3 [2]+ Done sleep 7 Mo Jul 10 11:22:56 CEST 2006 #v- Regards, Thomas __ distcc mailing list http://distcc.samba.org/ To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/distcc