This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: proposed bootstrap changes
- To: dj at redhat dot com
- Subject: Re: proposed bootstrap changes
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Thu, 16 Nov 00 17:13:36 EST
- Cc: gcc-patches at gcc dot gnu dot org
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.