PATCH for FAQ
Mark Mitchell
mark@codesourcery.com
Mon May 31 01:03:00 GMT 1999
Here's the promised FAQ entry describing how to do a parallel build.
Thanks to Jeff for providing the content.
Is this OK?
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
Index: faq.html
===================================================================
RCS file: /egcs/carton/cvsfiles/wwwdocs/htdocs/faq.html,v
retrieving revision 1.122
diff -u -p -r1.122 faq.html
--- faq.html 1999/05/17 23:27:07 1.122
+++ faq.html 1999/05/31 07:58:40
@@ -39,6 +39,8 @@ comp.std.c++ FAQ</a>.
<li><a href="#rpath">libstdc++/libio tests fail badly with --enable-shared</a>
<li><a href="#gas">GCC can not find GNU as/GNU ld</a>
<li><a href="#environ">cpp: Usage:... Error</a>
+ <li><a href="#parallel">How can I take advantage of my multiprocessor
+ when building EGCS?</a>
</ol>
<li><a href="#testsuite">Testsuite problems</a>
@@ -466,6 +468,13 @@ or end of these variables is an implicit
<p>Also note '::' in these paths will also cause similar problems.
+<hr>
+<h2><a name="parallel">How can I take advantage of my multiprocessor
+ when building EGCS?</a></h2>
+<p>Use <tt>make bootstrap MAKE="make -j 2" -j 2</tt> instead of just
+<tt>make bootstrap</tt> when building EGCS. You can use a bigger
+number instead of two if you like. In most cases, it won't help
+to use a number bigger than the number of processors in your machine.
<hr>
<a name="testsuite"></a>
More information about the Gcc-patches
mailing list