This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: proposed bootstrap changes



>     > This is wrong.  You also need to copy the various subdirectories.
> 
>     Oops.  Tar?
> 
> I meant "move".
> 
>     All the existing language rules preseve the directory structure, so
>     naively moving recursively should be OK.
> 
> Yes, but that's not a recursive move!

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]