1 |
nightmorph 07/06/27 18:12:08 |
2 |
|
3 |
Modified: gcc-optimization.xml |
4 |
Log: |
5 |
whoops, i was on crack with the command line gcc stuff. thanks to dsd for pointing it out. |
6 |
|
7 |
Revision Changes Path |
8 |
1.2 xml/htdocs/doc/en/gcc-optimization.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/gcc-optimization.xml?rev=1.2&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/gcc-optimization.xml?rev=1.2&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/gcc-optimization.xml?r1=1.1&r2=1.2 |
13 |
|
14 |
Index: gcc-optimization.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/gcc-optimization.xml,v |
17 |
retrieving revision 1.1 |
18 |
retrieving revision 1.2 |
19 |
diff -u -r1.1 -r1.2 |
20 |
--- gcc-optimization.xml 27 Jun 2007 13:28:13 -0000 1.1 |
21 |
+++ gcc-optimization.xml 27 Jun 2007 18:12:08 -0000 1.2 |
22 |
@@ -1,6 +1,6 @@ |
23 |
<?xml version='1.0' encoding='UTF-8'?> |
24 |
|
25 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gcc-optimization.xml,v 1.1 2007/06/27 13:28:13 neysx Exp $ --> |
26 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gcc-optimization.xml,v 1.2 2007/06/27 18:12:08 nightmorph Exp $ --> |
27 |
|
28 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
29 |
|
30 |
@@ -22,8 +22,8 @@ |
31 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
32 |
<license/> |
33 |
|
34 |
-<version>1.0</version> |
35 |
-<date>2007-06-26</date> |
36 |
+<version>1.1</version> |
37 |
+<date>2007-06-27</date> |
38 |
|
39 |
<chapter> |
40 |
<title>Introduction</title> |
41 |
@@ -55,14 +55,9 @@ |
42 |
|
43 |
<p> |
44 |
CFLAGS and CXXFLAGS can be used in two ways. First, they can be used |
45 |
-per-program, by directly invoking <c>gcc</c> and then some bit of code you wish |
46 |
-to compile. |
47 |
+per-program with Makefiles generated by automake. |
48 |
</p> |
49 |
|
50 |
-<pre caption="Compiling a program directly"> |
51 |
-$ <i>CFLAGS="-march=i686" gcc file.c</i> |
52 |
-</pre> |
53 |
- |
54 |
<p> |
55 |
However, this should not be done when installing packages found in the Portage |
56 |
tree. Instead, set your CFLAGS and CXXFLAGS in <path>/etc/make.conf</path>. This |
57 |
|
58 |
|
59 |
|
60 |
-- |
61 |
gentoo-doc-cvs@g.o mailing list |