martin%EASBY.DURHAM.AC.UK@MITVMA.MIT.EDU (Martin Ward) (01/24/90)
I have found a problem with make version 3.57 using the '-j' option. When compiling gcc (or g++) which uses the shell script "move-if-change" the make program doesn't appear to realise that the script has terminated so it "hangs" waiting for the termination of a process which has already terminated. Running "make" without the -j option doesen't cause any problems. This is with gcc-1.36, though I suspect that other versions of gcc and g++ will have the same effect. Here's what move-if-change says: #!/bin/sh if test -r $2 then if cmp $1 $2 > /dev/null then echo $2 is unchanged rm $1 else mv $1 $2 fi else mv $1 $2 fi If you can't reproduce the problem I will try and provide a smaller example! Martin. My ARPANET address is: martin%EASBY.DUR.AC.UK@CUNYVM.CUNY.EDU OR: martin%uk.ac.dur.easby@nfsnet-relay.ac.uk UUCP:...!mcvax!ukc!easby!martin JANET: martin@uk.ac.dur.easby BITNET: martin%dur.easby@ac.uk