/[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.9 Revision 1.10
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.9 2006/02/09 17:40:19 jkt Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gcc-upgrading.xml,v 1.10 2006/02/25 09:37:33 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>8</version> 28<version>9</version>
29<date>2006-02-09</date> 29<date>2006-02-25</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>
392everything has been rebuilt with your new compiler. This is not necessary, but 392everything has been rebuilt with your new compiler. This is not necessary, but
393is valid if you are also making changes to CFLAGS or other make.conf variables 393is valid if you are also making changes to CFLAGS or other make.conf variables
394that will affect the system compile. 394that will affect the system compile.
395</p> 395</p>
396 396
397<pre caption="Upgrading GCC">
398# <i>emerge -uav gcc</i>
399# <i>gcc-config i686-pc-linux-gnu-3.4.4</i>
400# <i>source /etc/profile</i>
401
402<comment>(Rebuilding libtool)</comment>
403# <i>emerge --oneshot -av libtool</i>
404</pre>
405
406<note>
407This assumes that you have <c>CHOST="i686-pc-linux-gnu"</c> set. If you are
408using another CHOST, please use the appropriate gcc-config line.
409</note>
410
411<p>
412To provide compatibility with older binary C++ applications,
413<c>sys-libs/libstdc++-v3</c> needs to be merged onto your system.
414</p>
415
416<pre caption="Installing libstdc++-v3">
417# <i>emerge --oneshot sys-libs/libstdc++-v3</i>
418</pre>
419
420<p> 397<p>
421Since we are performing these actions after an initial installation, we do not 398Since we are performing these actions after an initial installation, we do not
422need to recompile the world target as we would when doing an upgrade on an 399need to recompile the <c>world</c> target as we would when doing an upgrade on
423already installed system. However, you may choose to perform a world update in 400an already installed system. However, you may choose to perform a world update
424place of the system update, to ensure that all packages are updated. 401in place of the system update, to ensure that all packages are updated.
425</p> 402</p>
426 403
427<pre caption="Rebuilding system"> 404<pre caption="Rebuilding system">
428# <i>emerge -e system</i> 405# <i>emerge -e system</i>
429</pre> 406</pre>
407
408</body>
409</section>
410<section id="first-install-cleaning-up">
411<title>Cleaning up</title>
412<body>
430 413
431<p> 414<p>
432It is also safe to remove older GCC versions at this time. Please substitute 415It is also safe to remove older GCC versions at this time. Please substitute
433<c>YOUR-NEW-GCC-VERSION</c> with the actual version you've upgraded to: 416<c>YOUR-NEW-GCC-VERSION</c> with the actual version you've upgraded to:
434</p> 417</p>

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

  ViewVC Help
Powered by ViewVC 1.1.20