1 |
nightmorph 09/07/22 05:05:20 |
2 |
|
3 |
Modified: hb-install-stage.xml |
4 |
Log: |
5 |
make it a little more clear that -O2 is the recommended default, -O3 is a bad idea. also link to the compilation optimization guide for more info. |
6 |
|
7 |
Revision Changes Path |
8 |
1.8 xml/htdocs/doc/en/handbook/2008.0/hb-install-stage.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/2008.0/hb-install-stage.xml?rev=1.8&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/2008.0/hb-install-stage.xml?rev=1.8&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/2008.0/hb-install-stage.xml?r1=1.7&r2=1.8 |
13 |
|
14 |
Index: hb-install-stage.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2008.0/hb-install-stage.xml,v |
17 |
retrieving revision 1.7 |
18 |
retrieving revision 1.8 |
19 |
diff -u -r1.7 -r1.8 |
20 |
--- hb-install-stage.xml 8 Jul 2008 23:56:10 -0000 1.7 |
21 |
+++ hb-install-stage.xml 22 Jul 2009 05:05:20 -0000 1.8 |
22 |
@@ -4,12 +4,12 @@ |
23 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
24 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
25 |
|
26 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2008.0/hb-install-stage.xml,v 1.7 2008/07/08 23:56:10 nightmorph Exp $ --> |
27 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2008.0/hb-install-stage.xml,v 1.8 2009/07/22 05:05:20 nightmorph Exp $ --> |
28 |
|
29 |
<sections> |
30 |
|
31 |
-<version>9.4</version> |
32 |
-<date>2008-07-08</date> |
33 |
+<version>9.5</version> |
34 |
+<date>2009-07-21</date> |
35 |
|
36 |
<section> |
37 |
<title>Installing a Stage Tarball</title> |
38 |
@@ -257,9 +257,11 @@ |
39 |
A second one is the <c>-O</c> flag (that is a capital O, not a zero), |
40 |
which specifies the <c>gcc</c> optimization |
41 |
class flag. Possible classes are <c>s</c> (for size-optimized), |
42 |
-<c>0</c> (zero - for no optimizations), <c>1</c>, <c>2</c> or <c>3</c> for more |
43 |
+<c>0</c> (zero - for no optimizations), <c>1</c>, <c>2</c> or even <c>3</c> for more |
44 |
speed-optimization flags (every class has the same flags as the one before, plus |
45 |
-some extras). <c>-O2</c> is the recommended default. |
46 |
+some extras). <c>-O2</c> is the recommended default. <c>-O3</c> is known to |
47 |
+cause problems when used system-wide, so we recommend that you stick to |
48 |
+<c>-O2</c>. |
49 |
</p> |
50 |
|
51 |
<p> |
52 |
@@ -286,6 +288,12 @@ |
53 |
CXXFLAGS="${CFLAGS}" |
54 |
</pre> |
55 |
|
56 |
+<note> |
57 |
+You may also want to view the <uri |
58 |
+link="/doc/en/gcc-optimization.xml">Compilation Optimization Guide</uri> for |
59 |
+more information on how the various compilation options can affect your system. |
60 |
+</note> |
61 |
+ |
62 |
</body> |
63 |
</subsection> |
64 |
<subsection> |