The patch below is following up the "Trouble trying to test GCC on a simulator" thread I started on g...@gcc.gnu.org.

It updates statements and shell commands to get/update/combine Binutils sources, which are now managed under a Git repository.

The updated page has been validated as XHTML 1.0 Transitional.

Ok to commit? Thank you in advance for the review!

Index: simtest-howto.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/simtest-howto.html,v
retrieving revision 1.29
diff -r1.29 simtest-howto.html
24,29c24,28
<     <p>The combined tree contains GCC sources plus several modules of
<     the <code>src</code> tree: <code>binutils</code> and
<     <code>newlib</code> for the build and <code>sim</code> for the
<     simulators. If you already build with a combined tree you can use
<     your current setup; if not, these instructions will get you the
<     sources you need.</p>
---
>     <p>The combined tree contains GCC sources, Binutils sources and
>     several modules of the <code>src</code> tree: <code>newlib</code>
>     for the build and <code>sim</code> for the simulators. If you
>     already build with a combined tree you can use your current setup;
>     if not, these instructions will get you the sources you need.</p>
52c51,58
< cvs -d :pserver:anon...@sourceware.org:/cvs/src co binutils newlib sim
---
> cvs -d :pserver:anon...@sourceware.org:/cvs/src co newlib sim
> </pre>
>
>     <p>Check out the <code>binutils</code> tree:</p>
>
> <pre>
> cd ${TOP}
> git clone git://sourceware.org/git/binutils-gdb.git
70,71c76,86
<     commands that you used to check out that tree initially, invoked from
< the <code>src</code> directory (NOT from within the combined tree).</p>
---
>     commands that you used to check out that tree initially, invoked
>     from the <code>src</code> directory (NOT from within the combined
>     tree).</p>
>
>     <p>Update the <code>binutils</code> tree with the following commands
>     (again, from the <code>binutils-gdb</code> directory):</p>
>
> <pre>
> cd ${TOP}/binutils-gdb
> git pull origin master
> </pre>
87,88c102,104
< cd src &amp;&amp; find . -print | cpio -pdlm ../combined &amp;&amp; cd ..
< cd gcc &amp;&amp; find . -print | cpio -pdlmu ../combined &amp;&amp; cd ..
---
> cd src &amp;&amp; find . -print | cpio -pdlm ../combined &amp;&amp; cd .. > cd binutils-gdb &amp;&amp; find . -print | cpio -pdlmu ../combined &amp;&amp; cd .. > cd gcc &amp;&amp; find . -print | cpio -pdlmu ../combined &amp;&amp; cd ..

--
Pierre-Marie de Rodat

Reply via email to