Patch to simtest-howto.html
Nathanael Nerode
neroden@twcny.rr.com
Tue Mar 25 06:44:00 GMT 2003
Patch is wrong. :-) Sorry.
>From the script you're working with:
>mkdir gcc src combined
^^^ ^^^
Note that line.
>cd gcc
>cvs -d :pserver:anoncvs@subversions.gnu.org:/cvsroot/gcc login
># You will be prompted for a password; reply with the empty string.
>cvs -d :pserver:anoncvs@subversions.gnu.org:/cvsroot/gcc co gcc
And this creates 'gcc' inside the 'gcc' directory.
>cvs -d :pserver:anoncvs@subversions.gnu.org:/cvsroot/gcc logout
>cd ../src
>cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/src login
># You will be prompted for a password; reply with "anoncvs".
>cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/src co binutils newlib
>dejagnu gdb
And this creates 'src' inside the 'src' directory.
>cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/src logout
>cd src
>find . -print | cpio -pdlm ../../combined
>cd ../../gcc/gcc
>find . -print | cpio -pdlmu ../../combined
>cd ../..
The script ends up with the setup
/gcc/gcc
/src/src
/combined
Your patch will make it fail.
I assume what you wanted to do was to end up with
/gcc
/src
/combined
To do that you need to replace the script with:
>mkdir combined
Note that line.
>cvs -d :pserver:anoncvs@subversions.gnu.org:/cvsroot/gcc login
># You will be prompted for a password; reply with the empty string.
>cvs -d :pserver:anoncvs@subversions.gnu.org:/cvsroot/gcc co gcc
This creates 'gcc' at 'top level'.
>cvs -d :pserver:anoncvs@subversions.gnu.org:/cvsroot/gcc logout
>cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/src login
># You will be prompted for a password; reply with "anoncvs".
>cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/src co binutils newlib
>dejagnu gdb
This creates 'src' at top level.
>cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/src logout
And then the following will work.
>cd src && find . -print | cpio -pdlm ../combined && cd ..
>cd gcc && find . -print | cpio -pdlmu ../combined && cd ..
--Nathanael
More information about the Gcc-patches
mailing list