proposed bootstrap changes
Richard Earnshaw
rearnsha@arm.com
Fri Nov 17 03:08:00 GMT 2000
> Here is my fixed rule (example). Should this work OK?
>
> restage2:
> -test -d stage2/. && (cd stage2; tar -cf - .) | tar -xpf -
> -rm -rf stage2 stage3 stage4 stage2_build stage2_copy
> $(MAKE) LANGUAGES="$(LANGUAGES)" stage2_build
>
> I don't like this because of the tar. It means you potentially
> lose date information (I know you're not supposed to), but also run the
> risk of a disk filling since you have can have two copies for a while.
>
> I'd prefer to run a loop that does recursive mv's.
-for i in $(STAGESTUFF); do mv stage<N>/$i $i; done
followed by other rules that mirror the behaviour of the stageN rules.
More information about the Gcc-patches
mailing list