| 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.17 2006/09/04 20:48:18 nightmorph Exp $ --> |
2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gcc-upgrading.xml,v 1.18 2006/09/05 23:26:59 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 Linux GCC Upgrade Guide</title> |
7 | <title>Gentoo Linux 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>15</version> |
28 | <version>16</version> |
| 29 | <date>2006-09-04</date> |
29 | <date>2006-09-06</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> |
| … | |
… | |
| 62 | using a stage3 tarball, after a new GCC major/minor version has been released. |
62 | using a stage3 tarball, after a new GCC major/minor version has been released. |
| 63 | </p> |
63 | </p> |
| 64 | |
64 | |
| 65 | <warn> |
65 | <warn> |
| 66 | It should be noted that upgrading from GCC-3.4 to GCC-4.1 or greater still |
66 | It should be noted that upgrading from GCC-3.4 to GCC-4.1 or greater still |
| 67 | requires you to follow the general upgrading instructions, as GCC-3.4 and |
67 | requires you to follow the <uri link="#upgrade-general">general upgrading |
| 68 | GCC-4.1 use slightly different ABIs. |
68 | instructions</uri>, as GCC-3.4 and GCC-4.1 use slightly different ABIs. |
| 69 | </warn> |
69 | </warn> |
| 70 | |
70 | |
| 71 | </body> |
71 | </body> |
| 72 | </section> |
72 | </section> |
| 73 | </chapter> |
73 | </chapter> |
| … | |
… | |
| 140 | |
140 | |
| 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> |
|
|
146 | Please note that the GCC 4.1 and newer can't compile a 2.4 kernel. Don't remove |
|
|
147 | your old GCC version if you want to use an older kernel. |
|
|
148 | </impo> |
|
|
149 | |
| 145 | </body> |
150 | </body> |
| 146 | </section> |
151 | </section> |
| 147 | </chapter> |
152 | </chapter> |
| 148 | |
153 | |
| 149 | <chapter id="upgrade-3.3-to-3.4"> |
154 | <chapter id="upgrade-3.3-to-3.4"> |
| … | |
… | |
| 163 | <section id="upgrade-3.3-to-3.4-choices"> |
168 | <section id="upgrade-3.3-to-3.4-choices"> |
| 164 | <title>The Choices</title> |
169 | <title>The Choices</title> |
| 165 | <body> |
170 | <body> |
| 166 | |
171 | |
| 167 | <impo> |
172 | <impo> |
| 168 | If you upgrade from gcc 3.4 to 4.1, please consult the General Update |
173 | If you upgrade from gcc 3.4 to 4.1, please consult the <uri |
| 169 | instructions. |
174 | link="#upgrade-general">General Update instructions</uri>. |
| 170 | </impo> |
175 | </impo> |
| 171 | |
176 | |
| 172 | <impo> |
177 | <impo> |
| 173 | If you're upgrading on a SPARC machine, you will have to take the way of |
178 | If you're upgrading on a SPARC machine, you will have to take the way of |
| 174 | <uri link="#upgrade-3.3-to-3.4-emerge-e">complete system rebuild</uri> due to |
179 | <uri link="#upgrade-3.3-to-3.4-emerge-e">complete system rebuild</uri> due to |