[wwwdocs] Fix contribute.html documentation on testing patches

Message ID CAOe4MZb9N+89L44ipkObvRz=d4zXk3+Q4vO=FF4L58VbRFQufw@mail.gmail.com
State New
Headers show
Series
  • [wwwdocs] Fix contribute.html documentation on testing patches
Related show

Commit Message

Jozef Lawrynowicz Jan. 11, 2018, 6:52 p.m.
The instructions on https://gcc.gnu.org/contribute.html#testing for
bootstrapping GCC are incorrect.
The instructions say to run 'make bootstrap' from the top level GCC
directory,
but this results in the below error.

$ make bootstrap
make: *** No rule to make target 'bootstrap'. Stop.

The instructions should say to first configure GCC in a new directory, then
run
'make bootstrap' from there. Patch is below.

If the patch is acceptable I would appreciate if someone could commit it
for me
as I don't have write access.

 or a runtime library other than <code>libgcc</code>, you need to verify

Patch

Index: htdocs/contribute.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/contribute.html,v
retrieving revision 1.87
diff -u -r1.87 contribute.html
--- htdocs/contribute.html      9 Apr 2015 21:49:31 -0000       1.87
+++ htdocs/contribute.html      11 Jan 2018 18:49:18 -0000
@@ -105,11 +105,13 @@ 
 bootstrap all default languages, not just C and C++, and run all
testsuites.
 For a normal native configuration, running</p>
 <blockquote><pre>
+../configure
 make bootstrap
 make -k check
 </pre></blockquote>
-<p>from the top level of the GCC tree (<strong>not</strong> the
-<code>gcc</code> subdirectory) will accomplish this.</p>
+<p>from a new directory in the top level of the GCC tree
+(<strong>not</strong> the <code>gcc</code> subdirectory) will accomplish
+this.</p>

 <p>If your change is to a front end other than the C or C++ front end,