possible race condition in make install?

Andreas Schwab schwab@linux-m68k.org
Sun Jul 17 09:27:00 GMT 2011


Jack Howarth <howarth@bromo.med.uc.edu> writes:

> What keeps...
>
> $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n
>
> from outrunning the execution of the next command...
>
>         ( cd $(DESTDIR)$(libdir)/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n ;$(RANLIB) $(TARGETLIB)n )
>
> on a multiprocessor machine with parallel make?

That they are executed in sequence?

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Gcc mailing list