nightmorph 07/06/27 18:12:08 Modified: gcc-optimization.xml Log: whoops, i was on crack with the command line gcc stuff. thanks to dsd for pointing it out.
Revision Changes Path 1.2 xml/htdocs/doc/en/gcc-optimization.xml file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/gcc-optimization.xml?rev=1.2&view=markup plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/gcc-optimization.xml?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/gcc-optimization.xml?r1=1.1&r2=1.2 Index: gcc-optimization.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/gcc-optimization.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- gcc-optimization.xml 27 Jun 2007 13:28:13 -0000 1.1 +++ gcc-optimization.xml 27 Jun 2007 18:12:08 -0000 1.2 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='UTF-8'?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gcc-optimization.xml,v 1.1 2007/06/27 13:28:13 neysx Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gcc-optimization.xml,v 1.2 2007/06/27 18:12:08 nightmorph Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> @@ -22,8 +22,8 @@ <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> <license/> -<version>1.0</version> -<date>2007-06-26</date> +<version>1.1</version> +<date>2007-06-27</date> <chapter> <title>Introduction</title> @@ -55,14 +55,9 @@ <p> CFLAGS and CXXFLAGS can be used in two ways. First, they can be used -per-program, by directly invoking <c>gcc</c> and then some bit of code you wish -to compile. +per-program with Makefiles generated by automake. </p> -<pre caption="Compiling a program directly"> -$ <i>CFLAGS="-march=i686" gcc file.c</i> -</pre> - <p> However, this should not be done when installing packages found in the Portage tree. Instead, set your CFLAGS and CXXFLAGS in <path>/etc/make.conf</path>. This -- [EMAIL PROTECTED] mailing list
