| 1 | <?xml version='1.0' encoding="UTF-8"?> |
1 | <?xml version='1.0' encoding="UTF-8"?> |
| 2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gcc-upgrading.xml,v 1.25 2006/10/06 17:41:37 nightmorph Exp $ --> |
2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gcc-upgrading.xml,v 1.26 2007/04/02 23:13:45 jkt Exp $ --> |
| 3 | |
3 | |
| 4 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
4 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
| 5 | |
5 | |
| 6 | <guide link="/doc/en/gcc-upgrading.xml"> |
6 | <guide link="/doc/en/gcc-upgrading.xml"> |
| 7 | <title>Gentoo GCC Upgrade Guide</title> |
7 | <title>Gentoo GCC Upgrade Guide</title> |
| … | |
… | |
| 23 | |
23 | |
| 24 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
24 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
| 25 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
25 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
| 26 | <license/> |
26 | <license/> |
| 27 | |
27 | |
| 28 | <version>21</version> |
28 | <version>22</version> |
| 29 | <date>2006-10-06</date> |
29 | <date>2007-04-03</date> |
| 30 | |
30 | |
| 31 | <chapter id="intro"> |
31 | <chapter id="intro"> |
| 32 | <title>Introduction</title> |
32 | <title>Introduction</title> |
| 33 | <section> |
33 | <section> |
| 34 | <title>GCC Upgrading</title> |
34 | <title>GCC Upgrading</title> |
| … | |
… | |
| 141 | <pre caption="Removing older GCC version"> |
141 | <pre caption="Removing older GCC version"> |
| 142 | # <i>emerge -aC =sys-devel/gcc-3.4*</i> |
142 | # <i>emerge -aC =sys-devel/gcc-3.4*</i> |
| 143 | </pre> |
143 | </pre> |
| 144 | |
144 | |
| 145 | <impo> |
145 | <impo> |
| 146 | Please note that the GCC 4.1 and newer can't compile a 2.4 kernel. Don't remove |
146 | Please note that the GCC 4.1 and newer can compile only kernels newer than |
| 147 | your old GCC version if you want to use an older kernel. |
147 | 2.4.34. Don't remove your old GCC version if you want to use an older kernel. |
| 148 | </impo> |
148 | </impo> |
| 149 | |
149 | |
| 150 | <impo> <!-- FIXME: do we really want to keep it here? --> |
150 | <impo> <!-- FIXME: do we really want to keep it here? --> |
| 151 | In case you're upgrading from GCC-3.3, you should run <c>emerge --oneshot |
151 | In case you're upgrading from GCC-3.3, you should run <c>emerge --oneshot |
| 152 | sys-libs/libstdc++-v3</c> to provide compatibility with older binary C++ |
152 | sys-libs/libstdc++-v3</c> to provide compatibility with older binary C++ |