/[gentoo]/xml/htdocs/doc/en/gcc-upgrading.xml
Gentoo

Diff of /xml/htdocs/doc/en/gcc-upgrading.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.10 Revision 1.11
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.10 2006/02/25 09:37:33 jkt Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gcc-upgrading.xml,v 1.11 2006/03/01 01:54:04 vanquirius 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>9</version> 28<version>10</version>
29<date>2006-02-25</date> 29<date>2006-02-28</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>
106</p> 106</p>
107 107
108<pre caption="Upgrading GCC"> 108<pre caption="Upgrading GCC">
109# <i>emerge -uav gcc</i> 109# <i>emerge -uav gcc</i>
110 110
111<comment>(Please substitute "i686-pc-linux-gnu-3.4.4" with the GCC 111<comment>(Please substitute "i686-pc-linux-gnu-3.4.5" with the GCC
112version and CHOST settings you've upgraded to:)</comment> 112version and CHOST settings you've upgraded to:)</comment>
113# <i>gcc-config i686-pc-linux-gnu-3.4.4</i> 113# <i>gcc-config i686-pc-linux-gnu-3.4.5</i>
114# <i>source /etc/profile</i> 114# <i>source /etc/profile</i>
115 115
116<comment>(Rebuilding libtool)</comment> 116<comment>(Rebuilding libtool)</comment>
117# <i>emerge --oneshot -av libtool</i> 117# <i>emerge --oneshot -av libtool</i>
118</pre> 118</pre>
190</p> 190</p>
191 191
192<pre caption="Installing gentoolkit and upgrading GCC"> 192<pre caption="Installing gentoolkit and upgrading GCC">
193# <i>emerge -an gentoolkit</i> 193# <i>emerge -an gentoolkit</i>
194# <i>emerge -uav gcc</i> 194# <i>emerge -uav gcc</i>
195<comment>(Please substitute "i686-pc-linux-gnu-3.4.5" with the GCC
196version and CHOST settings you've upgraded to:)</comment>
195# <i>gcc-config i686-pc-linux-gnu-3.4.4</i> 197# <i>gcc-config i686-pc-linux-gnu-3.4.5</i>
196# <i>source /etc/profile</i> 198# <i>source /etc/profile</i>
197 199
198<comment>(Rebuilding libtool)</comment> 200<comment>(Rebuilding libtool)</comment>
199# <i>emerge --oneshot -av libtool</i> 201# <i>emerge --oneshot -av libtool</i>
200</pre> 202</pre>
246first, you will upgrade GCC and libtool and switch to your new compiler. 248first, you will upgrade GCC and libtool and switch to your new compiler.
247</p> 249</p>
248 250
249<pre caption="Upgrading GCC"> 251<pre caption="Upgrading GCC">
250# <i>emerge -uav gcc</i> 252# <i>emerge -uav gcc</i>
253<comment>(Please substitute "i686-pc-linux-gnu-3.4.5" with the GCC
254version and CHOST settings you've upgraded to:)</comment>
251# <i>gcc-config i686-pc-linux-gnu-3.4.4</i> 255# <i>gcc-config i686-pc-linux-gnu-3.4.5</i>
252# <i>source /etc/profile</i> 256# <i>source /etc/profile</i>
253 257
254<comment>(Rebuilding libtool)</comment> 258<comment>(Rebuilding libtool)</comment>
255# <i>emerge --oneshot -av libtool</i> 259# <i>emerge --oneshot -av libtool</i>
256</pre> 260</pre>
331everyone. 335everyone.
332</p> 336</p>
333 337
334<pre caption="Upgrading GCC"> 338<pre caption="Upgrading GCC">
335# <i>emerge -uav gcc</i> 339# <i>emerge -uav gcc</i>
340<comment>(Please substitute "i686-pc-linux-gnu-3.4.5" with the GCC
341version and CHOST settings you've upgraded to:)</comment>
336# <i>gcc-config i686-pc-linux-gnu-3.4.4</i> 342# <i>gcc-config i686-pc-linux-gnu-3.4.5</i>
337# <i>source /etc/profile</i> 343# <i>source /etc/profile</i>
338 344
339<comment>(Rebuilding libtool)</comment> 345<comment>(Rebuilding libtool)</comment>
340# <i>emerge --oneshot -av libtool</i> 346# <i>emerge --oneshot -av libtool</i>
341</pre> 347</pre>

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.20