Ignore:
Timestamp:
Apr 27, 2004, 8:39:34 PM (21 years ago)
Author:
bird
Message:

GCC v3.3.3 sources.

Location:
branches/GNU/src/gcc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/gcc

    • Property svn:ignore
      •  

        old new  
        2626configure.vr
        2727configure.vrs
         28dir.info
        2829Makefile
        29 dir.info
        3030lost+found
        3131update.out
  • branches/GNU/src/gcc/INSTALL/finalinstall.html

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    1 <html lang="en"><head>
     1   <html lang="en">
     2<head>
    23<title>Installing GCC: Final installation</title>
    34<meta http-equiv="Content-Type" content="text/html">
    4 <meta name=description content="Installing GCC: Final installation">
    5 <meta name=generator content="makeinfo 4.0">
    6 <link href="http://texinfo.org/" rel=generator-home>
    7 </head><body>
     5<meta name="description" content="Installing GCC: Final installation">
     6<meta name="generator" content="makeinfo 4.6">
     7<!--
     8Copyright &copy; 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
     91999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
     10<br><p>
     11   <p>Permission is granted to copy, distribute and/or modify this document
     12under the terms of the GNU Free Documentation License, Version 1.2 or
     13any later version published by the Free Software Foundation; with no
     14Invariant Sections, the Front-Cover texts being (a) (see below), and
     15with the Back-Cover Texts being (b) (see below).  A copy of the
     16license is included in the section entitled "<a href="./gfdl.html">GNU Free Documentation License</a>".
    817
    9 <p>N<p>ow that GCC has been built (and optionally tested), you can install it with
    10 <pre>cd <var>objdir</var>; make install
    11 </pre>
     18   <p>(a) The FSF's Front-Cover Text is:
    1219
    13 <p>We strongly recommend to install into a target directory where there is
     20   <p>A GNU Manual
     21
     22   <p>(b) The FSF's Back-Cover Text is:
     23
     24   <p>You have freedom to copy and modify this GNU Manual, like GNU
     25     software.  Copies published by the Free Software Foundation raise
     26     funds for GNU development.-->
     27<meta http-equiv="Content-Style-Type" content="text/css">
     28<style type="text/css"><!--
     29  pre.display { font-family:inherit }
     30  pre.format  { font-family:inherit }
     31  pre.smalldisplay { font-family:inherit; font-size:smaller }
     32  pre.smallformat  { font-family:inherit; font-size:smaller }
     33  pre.smallexample { font-size:smaller }
     34  pre.smalllisp    { font-size:smaller }
     35--></style>
     36</head>
     37<body>
     38<h1 class="settitle">Installing GCC: Final installation</h1>
     39Now that GCC has been built (and optionally tested), you can install it with
     40<pre class="example">     cd <var>objdir</var>; make install
     41     </pre>
     42
     43   <p>We strongly recommend to install into a target directory where there is
    1444no previous version of GCC present.
    1545
    16 <p>That step completes the installation of GCC; user level binaries can
    17 be found in <code><var>prefix</var>/bin</code> where <var>prefix</var> is the value you
     46   <p>That step completes the installation of GCC; user level binaries can
     47be found in <code></code><var>prefix</var><code>/bin</code> where <var>prefix</var> is the value you
    1848specified with the <code>--prefix</code> to configure (or <code>/usr/local</code>
    1949by default).  (If you specified <code>--bindir</code>, that directory will
    2050be used instead; otherwise, if you specified <code>--exec-prefix</code>,
    21 <code><var>exec-prefix</var>/bin</code> will be used.)  Headers for the C++ and
    22 Java libraries are installed in <code><var>prefix</var>/include</code>; libraries
    23 in <code><var>libdir</var></code> (normally <code><var>prefix</var>/lib</code>); internal
    24 parts of the compiler in <code><var>libdir</var>/gcc-lib</code>; documentation in
    25 info format in <code><var>infodir</var></code> (normally <code><var>prefix</var>/info</code>).
     51<code></code><var>exec-prefix</var><code>/bin</code> will be used.)  Headers for the C++ and
     52Java libraries are installed in <code></code><var>prefix</var><code>/include</code>; libraries
     53in <code></code><var>libdir</var><code></code> (normally <code></code><var>prefix</var><code>/lib</code>); internal
     54parts of the compiler in <code></code><var>libdir</var><code>/gcc-lib</code>; documentation in
     55info format in <code></code><var>infodir</var><code></code> (normally <code></code><var>prefix</var><code>/info</code>).
    2656
    27 <p>When installing cross-compilers, GCC's executables
    28 are not only installed into <code><var>bindir</var></code>, that
    29 is, <code><var>exec-prefix</var>/bin</code>, but additionally into
    30 <code><var>exec-prefix</var>/<var>target-alias</var>/bin</code>, if that directory
     57   <p>When installing cross-compilers, GCC's executables
     58are not only installed into <code></code><var>bindir</var><code></code>, that
     59is, <code></code><var>exec-prefix</var><code>/bin</code>, but additionally into
     60<code></code><var>exec-prefix</var><code>/</code><var>target-alias</var><code>/bin</code>, if that directory
    3161exists.  Typically, such <dfn>tooldirs</dfn> hold target-specific
    3262binutils, including assembler and linker.
    3363
    34 <p>Installation into a temporary staging area or into a <code>chroot</code>
     64   <p>Installation into a temporary staging area or into a <code>chroot</code>
    3565jail can be achieved with the command
    3666
    37 <pre>make DESTDIR=<var>path-to-rootdir</var> install
    38 </pre>
     67<pre class="example">     make DESTDIR=<var>path-to-rootdir</var> install
     68     </pre>
    3969
    4070<p>where <var>path-to-rootdir</var> is the absolute path of
     
    4373need not exist yet; it will be created if necessary.
    4474
    45 <p>There is a subtle point with tooldirs and <code>DESTDIR</code>:
     75   <p>There is a subtle point with tooldirs and <code>DESTDIR</code>:
    4676If you relocate a cross-compiler installation with
    47 e.g. <code>DESTDIR=<var>rootdir</var></code>, then the directory
    48 <code><var>rootdir</var>/<var>exec-prefix</var>/<var>target-alias</var>/bin</code> will
     77e.g. <code>DESTDIR=</code><var>rootdir</var><code></code>, then the directory
     78<code></code><var>rootdir</var><code>/</code><var>exec-prefix</var><code>/</code><var>target-alias</var><code>/bin</code> will
    4979be filled with duplicated GCC executables only if it already exists,
    5080it will not be created otherwise.  This is regarded as a feature,
     
    5282using the <code>DESTDIR</code> feature.
    5383
    54 <p>If you built a released version of GCC using <code>make bootstrap</code> then please
     84   <p>If you built a released version of GCC using <code>make bootstrap</code> then please
    5585quickly review the build status page for your release, available from
    5686<a href="http://gcc.gnu.org/buildstat.html">http://gcc.gnu.org/buildstat.html</a>.
     
    6191Include the following information:
    6292
    63 <ul>
    64 <li>Output from running <code><var>srcdir</var>/config.guess</code>.  Do not send us
     93     <ul>
     94<li>Output from running <code></code><var>srcdir</var><code>/config.guess</code>.  Do not send us
    6595that file itself, just the one-line output from running it.
    6696
    67 <li>The output of <code>gcc -v</code> for your newly installed gcc.
     97     <li>The output of <code>gcc -v</code> for your newly installed gcc.
    6898This tells us which version of GCC you built and the options you passed to
    6999configure.
    70100
    71 <li>Whether you enabled all languages or a subset of them.  If you used a
     101     <li>Whether you enabled all languages or a subset of them.  If you used a
    72102full distribution then this information is part of the configure
    73103options in the output of <code>gcc -v</code>, but if you downloaded the
     
    75105which ones you built unless you tell us about it.
    76106
    77 <li>If the build was for GNU/Linux, also include:
    78 <ul>
     107     <li>If the build was for GNU/Linux, also include:
     108          <ul>
    79109<li>The distribution name and version (e.g., Red Hat 7.1 or Debian 2.2.3);
    80110this information should be available from <code>/etc/issue</code>.
    81111
    82 <li>The version of the Linux kernel, available from <code>uname --version</code>
     112          <li>The version of the Linux kernel, available from <code>uname --version</code>
    83113or <code>uname -a</code>.
    84114
    85 <li>The version of glibc you used; for RPM-based systems like Red Hat,
     115          <li>The version of glibc you used; for RPM-based systems like Red Hat,
    86116Mandrake, and SuSE type <code>rpm -q glibc</code> to get the glibc version,
    87117and on systems like Debian and Progeny use <code>dpkg -l libc6</code>.
    88118</ul>
    89 For other systems, you can include similar information if you think it is
     119     For other systems, you can include similar information if you think it is
    90120relevant.
    91121
    92 <li>Any other information that you think would be useful to people building
     122     <li>Any other information that you think would be useful to people building
    93123GCC on the same configuration.  The new entry in the build status list
    94124will include a link to the archived copy of your message.
    95125</ul>
    96126
    97 <p>We'd also like to know if the
     127   <p>We'd also like to know if the
    98128<a href="specific.html">host/target specific installation notes</a>
    99129didn't include your host/target information or if that information is
     
    101131<a href="mailto:gcc@gcc.gnu.org">gcc@gcc.gnu.org</a> telling us how the information should be changed.
    102132
    103 <p>If you find a bug, please report it following our
     133   <p>If you find a bug, please report it following our
    104134<a href="../bugs.html">bug reporting guidelines</a>.
    105135
    106 <p>If you want to print the GCC manuals, do <code>cd <var>objdir</var>; make
    107 dvi</code>.  You will need to have <code>texi2dvi</code> (version at least 4.1)
     136   <p>If you want to print the GCC manuals, do <code>cd </code><var>objdir</var><code>; make
     137dvi</code>.  You will need to have <code>texi2dvi</code> (version at least 4.2)
    108138and TeX installed.  This creates a number of <code>.dvi</code> files in
    109 subdirectories of <code><var>objdir</var></code>; these may be converted for
     139subdirectories of <code></code><var>objdir</var><code></code>; these may be converted for
    110140printing with programs such as <code>dvips</code>.  You can also
    111141<a href="http://www.gnu.org/order/order.html">buy printed manuals from the Free Software Foundation</a>, though such manuals may not be for the most
    112142recent version of GCC.
    113143
    114 <hr />
     144   <hr />
    115145<p>
    116146<a href="./index.html">Return to the GCC Installation page</a>
    117147
    118 </body></html>
     148   </body></html>
    119149
Note: See TracChangeset for help on using the changeset viewer.