Commit ef88b07d by Joseph Myers Committed by Joseph Myers

* doc/install.texi: Clean up Texinfo markup.

From-SVN: r42810
parent 1347cc4f
2001-06-02 Joseph S. Myers <jsm28@cam.ac.uk> 2001-06-02 Joseph S. Myers <jsm28@cam.ac.uk>
* doc/install.texi: Clean up Texinfo markup.
2001-06-02 Joseph S. Myers <jsm28@cam.ac.uk>
* doc/cpp.texi, doc/cppinternals.texi, doc/gcc.texi: Move contents * doc/cpp.texi, doc/cppinternals.texi, doc/gcc.texi: Move contents
to just after title page. to just after title page.
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
@settitle Installing GCC: Binaries @settitle Installing GCC: Binaries
@end ifset @end ifset
@comment $Id: install.texi,v 1.10 2001/06/01 18:08:19 gerald Exp $ @comment $Id: install.texi,v 1.11 2001/06/02 13:59:52 jsm28 Exp $
@c Copyright (C) 2001 Free Software Foundation, Inc. @c Copyright (C) 2001 Free Software Foundation, Inc.
@c *** Converted to texinfo by Dean Wakerley, dean@wakerley.com @c *** Converted to texinfo by Dean Wakerley, dean@wakerley.com
...@@ -59,11 +59,11 @@ Copyright @copyright{} 2001 Free Software Foundation, Inc. ...@@ -59,11 +59,11 @@ Copyright @copyright{} 2001 Free Software Foundation, Inc.
@titlepage @titlepage
@sp 10 @sp 10
@comment The title is printed in a large font. @comment The title is printed in a large font.
@center @titlefont{Sample Title} @center @titlefont{Installing GCC}
@c The following two commands start the copyright page. @c The following two commands start the copyright page.
@page @page
vskip 0pt plus 1filll @vskip 0pt plus 1filll
Copyright @copyright{} 2001 Free Software Foundation, Inc. Copyright @copyright{} 2001 Free Software Foundation, Inc.
@end titlepage @end titlepage
...@@ -257,11 +257,11 @@ To configure GCC: ...@@ -257,11 +257,11 @@ To configure GCC:
@example @example
% mkdir @var{objdir} % mkdir @var{objdir}
% cd @var{objdir} % cd @var{objdir}
% @var{srcdir}/configure @strong{[target] [options]} % @var{srcdir}/configure [@var{target}] [@var{options}]
@end example @end example
@strong{target specification} @heading Target specification
@itemize @bullet @itemize @bullet
@item @item
GCC has code to correctly determine the correct value for @var{target} GCC has code to correctly determine the correct value for @var{target}
...@@ -279,14 +279,14 @@ implies that the host defaults to @var{target}. ...@@ -279,14 +279,14 @@ implies that the host defaults to @var{target}.
@end itemize @end itemize
@strong{options specification} @heading Options specification
Use @strong{options} to override several configure time options for Use @var{options} to override several configure time options for
GCC. A partial list of supported @option{options}: GCC. A partial list of supported @var{options}:
@itemize @bullet @table @code
@item @item --prefix=@var{dirname}
@option{--prefix=}@var{dirname} @minus{}@minus{} Specify the toplevel installation Specify the toplevel installation
directory. This is the recommended way to install the tools into a directory directory. This is the recommended way to install the tools into a directory
other than the default. The toplevel installation directory defaults to other than the default. The toplevel installation directory defaults to
@code{/usr/local}. @code{/usr/local}.
...@@ -296,17 +296,17 @@ subdirectory of @var{objdir} or vice versa. ...@@ -296,17 +296,17 @@ subdirectory of @var{objdir} or vice versa.
These additional options control where certain parts of the distribution These additional options control where certain parts of the distribution
are installed. Normally you should not need to use these options. are installed. Normally you should not need to use these options.
@itemize @bullet @table @code
@item @item --with-gxx-include-dir=@var{dirname}
@option{--with-gxx-include-dir=}@var{dirname} @minus{}@minus{} Specify Specify
the installation directory for g++ header files. The default is the installation directory for g++ header files. The default is
@file{/usr/local/include/g++}. @file{/usr/local/include/g++}.
@end itemize @end table
@item @item --with-local-prefix=@var{dirname}
@option{--with-local-prefix=}@var{dirname} @minus{}@minus{} Specify the Specify the
installation directory for local include files. The default is installation directory for local include files. The default is
@file{/usr/local}. Specify this option if you want the compiler to @file{/usr/local}. Specify this option if you want the compiler to
search directory @file{@var{dirname}/include} for locally installed search directory @file{@var{dirname}/include} for locally installed
...@@ -340,26 +340,23 @@ ideas of what it is for. People use it as if it specified where to ...@@ -340,26 +340,23 @@ ideas of what it is for. People use it as if it specified where to
install part of GCC. Perhaps they make this assumption because install part of GCC. Perhaps they make this assumption because
installing GCC creates the directory. installing GCC creates the directory.
@item @item --enable-shared
@option{--enable-shared} @minus{}@minus{} Build shared versions of the Build shared versions of the
C++ runtime libraries if supported. This is the default on most C++ runtime libraries if supported. This is the default on most
systems. Use @option{--disable-shared} for static libraries. Note that systems. Use @option{--disable-shared} for static libraries. Note that
up to the gcc version 2.95.x series, static libraries were the default up to the gcc version 2.95.x series, static libraries were the default
on all systems. on all systems.
@item @item @anchor{with-gnu-as}--with-gnu-as
@html Specify that the compiler should assume that the
<a name="with-gnu-as">@option{--with-gnu-as}</a>
@end html
@minus{}@minus{} Specify that the compiler should assume that the
assembler it finds is the GNU assembler. However, this does not modify assembler it finds is the GNU assembler. However, this does not modify
the rules to find an assembler and will result in confusion if found the rules to find an assembler and will result in confusion if found
assembler is not actually the GNU assembler. If you have more than one assembler is not actually the GNU assembler. If you have more than one
assembler installed on your system, you may want to use this option in assembler installed on your system, you may want to use this option in
connection with @option{--with-as=@file{/path/to/gas}}. connection with @option{--with-as=@file{/path/to/gas}}.
@item @item --with-as=@file{/path/to/as}
@option{--with-as=@file{/path/to/as}} @minus{}@minus{} Specify that the Specify that the
compiler should use the assembler pointed to by @var{pathname}, rather compiler should use the assembler pointed to by @var{pathname}, rather
than the one found by the standard rules to find an assembler, which than the one found by the standard rules to find an assembler, which
are: are:
...@@ -381,36 +378,33 @@ want to use @option{--with-as} if no assembler is installed in the ...@@ -381,36 +378,33 @@ want to use @option{--with-as} if no assembler is installed in the
directories listed above, or if you have multiple assemblers installed directories listed above, or if you have multiple assemblers installed
and want to choose one that is not found by the above rules. and want to choose one that is not found by the above rules.
@item @item @anchor{with-gnu-ld}--with-gnu-ld
@html Same as @uref{#with-gnu-as,,@option{--with-gnu-as}}
<a name="with-gnu-ld">@option{--with-gnu-ld}</a>
@end html
@minus{}@minus{} Same as @uref{#with-gnu-as,,@option{--with-gnu-as}}
but for linker. but for linker.
@item @item --with-ld=@file{/path/to/ld}
@option{--with-ld=@file{/path/to/ld}} @minus{}@minus{} Same as Same as
@option{--with-as}, but for the linker. @option{--with-as}, but for the linker.
@item @item --with-stabs
@option{--with-stabs} @minus{}@minus{} Specify that stabs debugging Specify that stabs debugging
information should be used instead of whatever format the host normally information should be used instead of whatever format the host normally
uses. Normally GCC uses the same debug format as the host system. uses. Normally GCC uses the same debug format as the host system.
@item @item --enable-multilib
@option{--enable-multilib} @minus{}@minus{} Specify that multiple target Specify that multiple target
libraries should be built to support different target variants, calling libraries should be built to support different target variants, calling
conventions, etc. This is the default. conventions, etc. This is the default.
@item @item --enable-threads
@option{--enable-threads} @minus{}@minus{} Specify that the target Specify that the target
supports threads. This affects the Objective-C compiler and runtime supports threads. This affects the Objective-C compiler and runtime
library, and exception handling for other languages like C++ and Java. library, and exception handling for other languages like C++ and Java.
On some systems, this is the default. On some systems, this is the default.
@item @item --enable-threads=@var{lib}
@option{--enable-threads=}@var{lib} @minus{}@minus{} Specify that Specify that
@var{lib} is the thread support library. This affects the Objective-C @var{lib} is the thread support library. This affects the Objective-C
compiler and runtime library, and exception handling for other languages compiler and runtime library, and exception handling for other languages
like C++ and Java. The possibilities for @var{lib} are @samp{aix}, like C++ and Java. The possibilities for @var{lib} are @samp{aix},
...@@ -418,32 +412,32 @@ like C++ and Java. The possibilities for @var{lib} are @samp{aix}, ...@@ -418,32 +412,32 @@ like C++ and Java. The possibilities for @var{lib} are @samp{aix},
@samp{posix}, @samp{pthreads}, @samp{single}, @samp{solaris}, @samp{posix}, @samp{pthreads}, @samp{single}, @samp{solaris},
@samp{vxworks} and @samp{win32}. @samp{vxworks} and @samp{win32}.
@item @item --with-cpu=@var{cpu}
@option{--with-cpu=}@var{cpu} @minus{}@minus{} Specify which cpu variant the Specify which cpu variant the
compiler should generate code for by default. This is currently compiler should generate code for by default. This is currently
only supported on the some ports, specifically arm, powerpc, and only supported on the some ports, specifically arm, powerpc, and
SPARC. If configure does not recognize the model name (e.g. arm700, SPARC. If configure does not recognize the model name (e.g. arm700,
603e, or ultrasparc) you provide, please check the configure script 603e, or ultrasparc) you provide, please check the configure script
for a complete list of supported models. for a complete list of supported models.
@item @item --enable-target-optspace
@option{--enable-target-optspace} @minus{}@minus{} Specify that target Specify that target
libraries should be optimized for code space instead of code speed. libraries should be optimized for code space instead of code speed.
This is the default for the m32r platform. This is the default for the m32r platform.
@item @item --enable-cpp
@option{--enable-cpp} @minus{}@minus{} Specify that a shell script which Specify that a shell script which
emulates traditional cpp functionality should be installed. emulates traditional cpp functionality should be installed.
@item @item --enable-cpplib
@option{--enable-cpplib} @minus{}@minus{} Specify that the functionality of Specify that the functionality of
CPP should be integrated into the compiler itself. This option is CPP should be integrated into the compiler itself. This option is
not supported by snapshots since November 2000. In snapshots where not supported by snapshots since November 2000. In snapshots where
it is supported, it is not enabled by default, except for snapshots it is supported, it is not enabled by default, except for snapshots
very close to November 2000. very close to November 2000.
@item @item --enable-maintainer-mode
@option{--enable-maintainer-mode} @minus{}@minus{} The build rules that The build rules that
regenerate the GCC master message catalog @code{gcc.pot} are normally regenerate the GCC master message catalog @code{gcc.pot} are normally
disabled. This is because it can only be rebuilt if the complete source disabled. This is because it can only be rebuilt if the complete source
tree is present. If you have changed the sources and want to rebuild the tree is present. If you have changed the sources and want to rebuild the
...@@ -451,14 +445,14 @@ catalog, configuring with @option{--enable-maintainer-mode} will enable ...@@ -451,14 +445,14 @@ catalog, configuring with @option{--enable-maintainer-mode} will enable
this. Note that you need a recent version of the @code{gettext} tools this. Note that you need a recent version of the @code{gettext} tools
to do so. to do so.
@item @item --without-fast-fixincludes
@option{--without-fast-fixincludes} @minus{}@minus{} Specify that the Specify that the
old, slower method of fixing the system header files should be used. old, slower method of fixing the system header files should be used.
EGCS 1.1.x and older releases default to the slow version. GCC 2.95 and EGCS 1.1.x and older releases default to the slow version. GCC 2.95 and
newer releases will default to the fast version. newer releases will default to the fast version.
@item @item --enable-version-specific-runtime-libs
@option{--enable-version-specific-runtime-libs} @minus{}@minus{} Specify Specify
that runtime libraries should be installed in the compiler specific that runtime libraries should be installed in the compiler specific
subdirectory (@file{@var{libsubdir}}) rather than the usual places. In subdirectory (@file{@var{libsubdir}}) rather than the usual places. In
addition, libstdc++'s include files will be installed in addition, libstdc++'s include files will be installed in
...@@ -468,9 +462,8 @@ particularly useful if you intend to use several versions of GCC in ...@@ -468,9 +462,8 @@ particularly useful if you intend to use several versions of GCC in
parallel. This is currently supported by @option{libf2c} and parallel. This is currently supported by @option{libf2c} and
@option{libstdc++}. @option{libstdc++}.
@item @item --enable-languages=@var{lang1},@var{lang2},@dots{}
@option{--enable-languages=}@var{lang1}@option{,}@var{lang2}@option{,...} Specify that only a particular subset of compilers and
@minus{}@minus{} Specify that only a particular subset of compilers and
their runtime libraries should be built. For a list of valid values for their runtime libraries should be built. For a list of valid values for
@var{lang}@option{x} you can issue the following command in the @var{lang}@option{x} you can issue the following command in the
@file{gcc} directory of your GCC source tree:@* @samp{grep language= @file{gcc} directory of your GCC source tree:@* @samp{grep language=
...@@ -482,11 +475,11 @@ EGCS 1.1.2 or older versions of egcs. It is supported in GCC 2.95 ...@@ -482,11 +475,11 @@ EGCS 1.1.2 or older versions of egcs. It is supported in GCC 2.95
and newer versions.@* and newer versions.@*
If you do not pass this flag, all languages available in the @file{gcc} If you do not pass this flag, all languages available in the @file{gcc}
sub-tree will be configured. Re-defining LANGUAGES when calling sub-tree will be configured. Re-defining LANGUAGES when calling
@samp{make bootstrap} @strong{*does not*} work anymore, as those @samp{make bootstrap} @strong{does not} work anymore, as those
language sub-directories might not have been configured! language sub-directories might not have been configured!
@item @item --disable-libgcj
@option{--disable-libgcj} @minus{}@minus{} Specify that the run-time libraries Specify that the run-time libraries
used by GCJ should not be built. This is useful in case you intend used by GCJ should not be built. This is useful in case you intend
to use GCJ with some other run-time, or you're going to install it to use GCJ with some other run-time, or you're going to install it
separately, or it just happens not to build on your particular separately, or it just happens not to build on your particular
...@@ -497,32 +490,31 @@ may need to port it; in this case, before modifying the top-level ...@@ -497,32 +490,31 @@ may need to port it; in this case, before modifying the top-level
configure.in so that libgcj is enabled by default on this platform, configure.in so that libgcj is enabled by default on this platform,
you may use @option{--enable-libgcj} to override the default. you may use @option{--enable-libgcj} to override the default.
@item @item --with-dwarf2
@option{--with-dwarf2} @minus{}@minus{} Specify that the compiler should Specify that the compiler should
use DWARF2 debugging information as the default. use DWARF2 debugging information as the default.
@end itemize @end table
Some options which only apply to building cross compilers: Some options which only apply to building cross compilers:
@itemize @bullet @table @code
@item @item --with-headers=@var{dir}
@option{--with-headers=}@var{dir} @minus{}@minus{} Specifies a directory Specifies a directory
which has target include files. which has target include files.
@emph{This options is required} when building a cross @emph{This options is required} when building a cross
compiler, if @file{@var{prefix}/@var{target}/sys-include} doesn't pre-exist. compiler, if @file{@var{prefix}/@var{target}/sys-include} doesn't pre-exist.
These include files will be copied into the @file{gcc} install directory. These include files will be copied into the @file{gcc} install directory.
Fixincludes will be run on these files to make them compatible with Fixincludes will be run on these files to make them compatible with
@command{gcc}. @command{gcc}.
@item @item --with-libs=``@var{dir1} @var{dir2} @dots{} @var{dirN}''
@option{--with-libs=}@emph{``dir1 dir2 ... dirN''} @minus{}@minus{}
Specifies a list of directories which contain the target runtime Specifies a list of directories which contain the target runtime
libraries. These libraries will be copied into the @file{gcc} install libraries. These libraries will be copied into the @file{gcc} install
directory. directory.
@item @item --with-newlib
@option{--with-newlib} @minus{}@minus{} Specifies that ``newlib'' is Specifies that ``newlib'' is
being used as the target C library. This causes @code{__eprintf} to be being used as the target C library. This causes @code{__eprintf} to be
omitted from libgcc.a on the assumption that it will be provided by omitted from libgcc.a on the assumption that it will be provided by
newlib. newlib.
@end itemize @end table
Note that each @option{--enable} option has a corresponding Note that each @option{--enable} option has a corresponding
@option{--disable} option and that each @option{--with} option has a @option{--disable} option and that each @option{--with} option has a
...@@ -607,7 +599,7 @@ the compilers to be built, only those you've actually enabled will be ...@@ -607,7 +599,7 @@ the compilers to be built, only those you've actually enabled will be
built. This will of course only build those runtime libraries, for built. This will of course only build those runtime libraries, for
which the particular compiler has been built. Please note, which the particular compiler has been built. Please note,
that re-defining LANGUAGES when calling @samp{make bootstrap} that re-defining LANGUAGES when calling @samp{make bootstrap}
@strong{*does not*} work anymore! @strong{does not} work anymore!
@section Building a cross compiler @section Building a cross compiler
...@@ -722,7 +714,7 @@ portability in the DejaGnu code. ...@@ -722,7 +714,7 @@ portability in the DejaGnu code.
Finally, you can run the testsuite (which may take a long time): Finally, you can run the testsuite (which may take a long time):
@example @example
cd @emph{objdir}; make -k check cd @var{objdir}; make -k check
@end example @end example
The testing process will try to test as many components in the GCC The testing process will try to test as many components in the GCC
...@@ -789,10 +781,10 @@ problem in future releases. ...@@ -789,10 +781,10 @@ problem in future releases.
@section Submitting test results @section Submitting test results
If you want to report the results to the GCC project, use the If you want to report the results to the GCC project, use the
@code{contrib/test_summary} shell script. Start it in the @emph{objdir} with @code{contrib/test_summary} shell script. Start it in the @var{objdir} with
@example @example
@emph{srcdir}/contrib/test_summary -p your_commentary.txt -m gcc-testresults@@gcc.gnu.org |sh @var{srcdir}/contrib/test_summary -p your_commentary.txt -m gcc-testresults@@gcc.gnu.org |sh
@end example @end example
This script uses the @code{Mail} program to send the results, so This script uses the @code{Mail} program to send the results, so
...@@ -823,8 +815,8 @@ should look here first if you think your results are unreasonable. ...@@ -823,8 +815,8 @@ should look here first if you think your results are unreasonable.
@end ifnothtml @end ifnothtml
Now that GCC has been built and tested, you can install it with Now that GCC has been built and tested, you can install it with
@samp{cd @emph{objdir}; make install} for a native compiler or @samp{cd @var{objdir}; make install} for a native compiler or
@samp{cd @emph{objdir}; make install LANGUAGES="c c++"} for @samp{cd @var{objdir}; make install LANGUAGES="c c++"} for
a cross compiler (note installing cross compilers will be easier in the a cross compiler (note installing cross compilers will be easier in the
next release!). next release!).
...@@ -968,6 +960,7 @@ works. ...@@ -968,6 +960,7 @@ works.
Please read this document carefully @emph{before} installing the Please read this document carefully @emph{before} installing the
GNU Compiler Collection on your machine. GNU Compiler Collection on your machine.
@ifhtml
@itemize @itemize
@item @item
@uref{#alpha*-dec-linux*,,alpha*-dec-linux*} @uref{#alpha*-dec-linux*,,alpha*-dec-linux*}
...@@ -1039,13 +1032,14 @@ GNU Compiler Collection on your machine. ...@@ -1039,13 +1032,14 @@ GNU Compiler Collection on your machine.
@item @item
@uref{#elf_targets,,all ELF targets} (SVR4, Solaris, etc.) @uref{#elf_targets,,all ELF targets} (SVR4, Solaris, etc.)
@end itemize @end itemize
@end ifhtml
@html @html
<!-- -------- host/target specific issues start here ---------------- --> <!-- -------- host/target specific issues start here ---------------- -->
<hr> <hr>
<h3><a name="alpha*-dec-linux*">alpha*-dec-linux*</a></h3>
@end html @end html
@heading @anchor{alpha*-dec-linux*}alpha*-dec-linux*
We require binutils 2.11 or newer. Previous binutils releases We require binutils 2.11 or newer. Previous binutils releases
had a number of problems with DWARF2 debugging information, not had a number of problems with DWARF2 debugging information, not
...@@ -1054,8 +1048,8 @@ the least of which is incorrect linking of shared libraries. ...@@ -1054,8 +1048,8 @@ the least of which is incorrect linking of shared libraries.
@html @html
</p> </p>
<hr> <hr>
<h3><a name="alpha*-dec-osf*">alpha*-dec-osf*</a></h3>
@end html @end html
@heading @anchor{alpha*-dec-osf*}alpha*-dec-osf*
If you install a shared libstdc++ and, when you link a non-trivial C++ If you install a shared libstdc++ and, when you link a non-trivial C++
program (for example, @file{gcc/testsuite/g++.other/delete3.C}), program (for example, @file{gcc/testsuite/g++.other/delete3.C}),
...@@ -1100,16 +1094,16 @@ flag @option{-mieee}. ...@@ -1100,16 +1094,16 @@ flag @option{-mieee}.
@html @html
</p> </p>
<hr> <hr>
<h3><a name="arm*-*-linux-gnu">arm*-*-linux-gnu</a></h3>
@end html @end html
@heading @anchor{arm*-*-linux-gnu}arm*-*-linux-gnu
We require GNU binutils 2.10 or newer. We require GNU binutils 2.10 or newer.
@html @html
</p> </p>
<hr> <hr>
<h3><a name="avr">avr</a></h3>
@end html @end html
@heading @anchor{avr}avr
Use @samp{configure --target=avr} Use @samp{configure --target=avr}
@option{--enable-languages="c"}' to configure GCC. @option{--enable-languages="c"}' to configure GCC.
...@@ -1136,24 +1130,24 @@ indicates that you should upgrade to a newer version of the binutils. ...@@ -1136,24 +1130,24 @@ indicates that you should upgrade to a newer version of the binutils.
@html @html
</p> </p>
<hr> <hr>
<h3><a name="dos">DOS</a></h3>
@end html @end html
@heading @anchor{dos}DOS
Please have a look at our @uref{binaries.html,,binaries page}. Please have a look at our @uref{binaries.html,,binaries page}.
@html @html
</p> </p>
<hr> <hr>
<h3><a name="h8300-hms">h8300-hms</a></h3>
@end html @end html
@heading @anchor{h8300-hms}h8300-hms
Please have a look at our @uref{binaries.html,,binaries page}. Please have a look at our @uref{binaries.html,,binaries page}.
@html @html
</p> </p>
<hr> <hr>
<h3><a name="hppa*-hp-hpux*">hppa*-hp-hpux*</a></h3>
@end html @end html
@heading @anchor{hppa*-hp-hpux*}hppa*-hp-hpux*
We @emph{highly} recommend using gas/binutils-2.8 or newer on all hppa We @emph{highly} recommend using gas/binutils-2.8 or newer on all hppa
platforms; you may encounter a variety of problems when using the HP platforms; you may encounter a variety of problems when using the HP
...@@ -1174,8 +1168,8 @@ More specific information to hppa*-hp-hpux* targets follows. ...@@ -1174,8 +1168,8 @@ More specific information to hppa*-hp-hpux* targets follows.
@html @html
</p> </p>
<hr> <hr>
<h3><a name="hppa*-hp-hpux9">hppa*-hp-hpux9</a></h3>
@end html @end html
@heading @anchor{hppa*-hp-hpux9}hppa*-hp-hpux9
The HP assembler has major problems on this platform. We've tried to work The HP assembler has major problems on this platform. We've tried to work
around the worst of the problems. However, those workarounds may be causing around the worst of the problems. However, those workarounds may be causing
...@@ -1191,8 +1185,8 @@ and @env{SHELL} to @file{/bin/ksh} in your environment. ...@@ -1191,8 +1185,8 @@ and @env{SHELL} to @file{/bin/ksh} in your environment.
@html @html
</p> </p>
<hr> <hr>
<h3><a name="hppa*-hp-hpux10">hppa*-hp-hpux10</a></h3>
@end html @end html
@heading @anchor{hppa*-hp-hpux10}hppa*-hp-hpux10
For hpux10.20, we @emph{highly} recommend you pick up the latest sed patch For hpux10.20, we @emph{highly} recommend you pick up the latest sed patch
@code{PHCO_19798} from HP. HP has two sites which provide patches free of @code{PHCO_19798} from HP. HP has two sites which provide patches free of
...@@ -1223,8 +1217,8 @@ bootstrap}. ...@@ -1223,8 +1217,8 @@ bootstrap}.
@html @html
</p> </p>
<hr> <hr>
<h3><a name="hppa*-hp-hpux11">hppa*-hp-hpux11</a></h3>
@end html @end html
@heading @anchor{hppa*-hp-hpux11}hppa*-hp-hpux11
GCC 2.95.2 does not support HP-UX 11, and it cannot generate 64-bit GCC 2.95.2 does not support HP-UX 11, and it cannot generate 64-bit
object files. Current (as of late 2000) snapshots and GCC 3.0 do support object files. Current (as of late 2000) snapshots and GCC 3.0 do support
...@@ -1234,8 +1228,8 @@ HP-UX 11. ...@@ -1234,8 +1228,8 @@ HP-UX 11.
@html @html
</p> </p>
<hr> <hr>
<h3><a name="*-*-linux-gnu">*-*-linux-gnu</a></h3>
@end html @end html
@heading @anchor{*-*-linux-gnu}*-*-linux-gnu
If you use glibc 2.2 (or 2.1.9x), GCC 2.95.2 won't install If you use glibc 2.2 (or 2.1.9x), GCC 2.95.2 won't install
out-of-the-box. You'll get compile errors while building libstdc++. out-of-the-box. You'll get compile errors while building libstdc++.
...@@ -1245,8 +1239,8 @@ applied in the GCC source tree, fixes the compatibility problems. ...@@ -1245,8 +1239,8 @@ applied in the GCC source tree, fixes the compatibility problems.
@html @html
</p> </p>
<hr> <hr>
<h3><a name="ix86-*-linux*">i?86-*-linux*</a></h3>
@end html @end html
@heading @anchor{ix86-*-linux*}i?86-*-linux*
You will need binutils-2.9.1.0.15 or newer for exception handling to work. You will need binutils-2.9.1.0.15 or newer for exception handling to work.
...@@ -1257,8 +1251,8 @@ found on @uref{http://www.bitwizard.nl/sig11/,,www.bitwizard.nl}. ...@@ -1257,8 +1251,8 @@ found on @uref{http://www.bitwizard.nl/sig11/,,www.bitwizard.nl}.
@html @html
</p> </p>
<hr> <hr>
<h3><a name="ix86-*-sco3.2v5*">i?86-*-sco3.2v5*</a></h3>
@end html @end html
@heading @anchor{ix86-*-sco3.2v5*}i?86-*-sco3.2v5*
Unlike earlier versions of GCC, the ability to generate COFF with this Unlike earlier versions of GCC, the ability to generate COFF with this
target is no longer provided. target is no longer provided.
...@@ -1338,8 +1332,8 @@ engineering and will hopefully be addressed in later releases. ...@@ -1338,8 +1332,8 @@ engineering and will hopefully be addressed in later releases.
@html @html
</p> </p>
<hr> <hr>
<h3><a name="ix86-*-solaris*">i?86-*-solaris*</a></h3>
@end html @end html
@heading @anchor{ix86-*-solaris*}i?86-*-solaris*
GCC 2.95.2, when configured to use the GNU assembler, would invoke GCC 2.95.2, when configured to use the GNU assembler, would invoke
it with the @code{-s} switch, that GNU as up to 2.9.5.0.12 does it with the @code{-s} switch, that GNU as up to 2.9.5.0.12 does
...@@ -1351,8 +1345,8 @@ assembler, you'll need the patch ...@@ -1351,8 +1345,8 @@ assembler, you'll need the patch
@html @html
</p> </p>
<hr> <hr>
<h3><a name="ix86-*-udk">i?86-*-udk</a></h3>
@end html @end html
@heading @anchor{ix86-*-udk}i?86-*-udk
This target emulates the SCO Universal Development Kit and requires that This target emulates the SCO Universal Development Kit and requires that
package be installed. (If it is installed, you will have a package be installed. (If it is installed, you will have a
...@@ -1390,9 +1384,9 @@ have installed. ...@@ -1390,9 +1384,9 @@ have installed.
@html @html
</p> </p>
<hr> <hr>
<h3><a name="*-ibm-aix*">*-ibm-aix*</a></h3>
<!-- rs6000-ibm-aix*, powerpc-ibm-aix* --> <!-- rs6000-ibm-aix*, powerpc-ibm-aix* -->
@end html @end html
@heading @anchor{*-ibm-aix*}*-ibm-aix*
AIX Make frequently has problems with GCC makefiles. GNU Make 3.76 or AIX Make frequently has problems with GCC makefiles. GNU Make 3.76 or
newer is recommended to build on this platform. newer is recommended to build on this platform.
...@@ -1465,8 +1459,8 @@ environment variable to "C" or "En_US". ...@@ -1465,8 +1459,8 @@ environment variable to "C" or "En_US".
@html @html
</p> </p>
<hr> <hr>
<h3><a name="m68k-*-nextstep*">m68k-*-nextstep*</a></h3>
@end html @end html
@heading @anchor{m68k-*-nextstep*}m68k-*-nextstep*
You absolutely @strong{must} use GNU sed and GNU make on this platform. You absolutely @strong{must} use GNU sed and GNU make on this platform.
...@@ -1509,8 +1503,8 @@ for this sequence to work. ...@@ -1509,8 +1503,8 @@ for this sequence to work.
@html @html
</p> </p>
<hr> <hr>
<h3><a name="m68k-sun-sunos4.1.1">m68k-sun-sunos4.1.1</a></h3>
@end html @end html
@heading @anchor{m68k-sun-sunos4.1.1}m68k-sun-sunos4.1.1
It is reported that you may need the GNU assembler on this platform. It is reported that you may need the GNU assembler on this platform.
...@@ -1518,8 +1512,8 @@ It is reported that you may need the GNU assembler on this platform. ...@@ -1518,8 +1512,8 @@ It is reported that you may need the GNU assembler on this platform.
@html @html
</p> </p>
<hr> <hr>
<h3><a name="mips*-sgi-irix[45]">mips*-sgi-irix[45]</a></h3>
@end html @end html
@heading @anchor{mips*-sgi-irix[45]}mips*-sgi-irix[45]
You must use GAS on these platforms, as the native assembler can not handle You must use GAS on these platforms, as the native assembler can not handle
the code for exception handling support. Either of these messages indicates the code for exception handling support. Either of these messages indicates
...@@ -1558,8 +1552,8 @@ information about using GCC on IRIX platforms. ...@@ -1558,8 +1552,8 @@ information about using GCC on IRIX platforms.
@html @html
</p> </p>
<hr> <hr>
<h3><a name="mips*-sgi-irix6">mips*-sgi-irix6</a></h3>
@end html @end html
@heading @anchor{mips*-sgi-irix6}mips*-sgi-irix6
You must @emph{not} use GAS on irix6 platforms; doing so will only You must @emph{not} use GAS on irix6 platforms; doing so will only
cause problems. cause problems.
...@@ -1613,8 +1607,8 @@ information about using GCC on IRIX platforms. ...@@ -1613,8 +1607,8 @@ information about using GCC on IRIX platforms.
@html @html
</p> </p>
<hr> <hr>
<h3><a name="powerpc-*-linux-gnu*">powerpc-*-linux-gnu*</a></h3>
@end html @end html
@heading @anchor{powerpc-*-linux-gnu*}powerpc-*-linux-gnu*
You will need You will need
@uref{ftp://ftp.varesearch.com/pub/support/hjl/binutils,,binutils-2.9.4.0.8} @uref{ftp://ftp.varesearch.com/pub/support/hjl/binutils,,binutils-2.9.4.0.8}
...@@ -1625,8 +1619,8 @@ if you initially built it with gcc-2.7.2.x. ...@@ -1625,8 +1619,8 @@ if you initially built it with gcc-2.7.2.x.
@html @html
</p> </p>
<hr> <hr>
<h3><a name="*-*-solaris*">*-*-solaris*</a></h3>
@end html @end html
@heading @anchor{*-*-solaris*}*-*-solaris*
Starting with Solaris, Sun does not ship a C compiler any more. To Starting with Solaris, Sun does not ship a C compiler any more. To
bootstrap and install GCC you first have to install a pre-built bootstrap and install GCC you first have to install a pre-built
...@@ -1648,8 +1642,8 @@ been fixed in later (5.x) versions of the assembler. ...@@ -1648,8 +1642,8 @@ been fixed in later (5.x) versions of the assembler.
@html @html
<p> <p>
<hr> <hr>
<h3><a name="sparc-sun-solaris*">sparc-sun-solaris*</a></h3>
@end html @end html
@heading @anchor{sparc-sun-solaris*}sparc-sun-solaris*
binutils 2.9.1 has known bugs on this platform. We recommend to use binutils 2.9.1 has known bugs on this platform. We recommend to use
binutils 2.10 or the vendor tools (Sun as, Sun ld). binutils 2.10 or the vendor tools (Sun as, Sun ld).
...@@ -1664,8 +1658,8 @@ mangling template-heavy C++ function names. ...@@ -1664,8 +1658,8 @@ mangling template-heavy C++ function names.
@html @html
</p> </p>
<hr> <hr>
<h3><a name="sparc-sun-solaris2.7">sparc-sun-solaris2.7</a></h3>
@end html @end html
@heading @anchor{sparc-sun-solaris2.7}sparc-sun-solaris2.7
Sun patch 107058-01 (1999-01-13) for SPARC Solaris 7 triggers a bug in Sun patch 107058-01 (1999-01-13) for SPARC Solaris 7 triggers a bug in
the dynamic linker. This problem (Sun bug 4210064) affects GCC 2.8 the dynamic linker. This problem (Sun bug 4210064) affects GCC 2.8
...@@ -1705,9 +1699,9 @@ the bug, but (as of 1999-10-06) it is still being tested. ...@@ -1705,9 +1699,9 @@ the bug, but (as of 1999-10-06) it is still being tested.
@html @html
<p> <p>
<hr> <hr>
<h3><a name="*-sun-solaris2.8">*-sun-solaris2.8</a></h3>
<!-- ripped from the same FAQ that I answered --> <!-- ripped from the same FAQ that I answered -->
@end html @end html
@heading @anchor{*-sun-solaris2.8}*-sun-solaris2.8
Sun bug 4296832 turns up when compiling X11 headers with GCC 2.95 or Sun bug 4296832 turns up when compiling X11 headers with GCC 2.95 or
newer: g++ will complain that types are missing. These headers assume newer: g++ will complain that types are missing. These headers assume
...@@ -1724,8 +1718,8 @@ For Solaris 8, this is fixed by revision 24 or later of patch 108652 ...@@ -1724,8 +1718,8 @@ For Solaris 8, this is fixed by revision 24 or later of patch 108652
@html @html
<p> <p>
<hr> <hr>
<h3><a name="sunv5">Sun V5.0 Compiler Bugs</a></h3>
@end html @end html
@heading @anchor{sunv5}Sun V5.0 Compiler Bugs
The Sun V5.0 compilers are known to mis-compile GCC 2.95 and GCC 2.95.1, The Sun V5.0 compilers are known to mis-compile GCC 2.95 and GCC 2.95.1,
which in turn causes GCC to fail its bootstrap comparison test. which in turn causes GCC to fail its bootstrap comparison test.
...@@ -1735,8 +1729,8 @@ GCC 2.95.2 has a workaround. ...@@ -1735,8 +1729,8 @@ GCC 2.95.2 has a workaround.
@html @html
</p> </p>
<hr> <hr>
<h3><a name="sparc-sun-sunos*">sparc-sun-sunos*</a></h3>
@end html @end html
@heading @anchor{sparc-sun-sunos*}sparc-sun-sunos*
A bug in the SunOS4 linker will cause it to crash when linking A bug in the SunOS4 linker will cause it to crash when linking
-fPIC compiled objects (and will therefore not allow you to build -fPIC compiled objects (and will therefore not allow you to build
...@@ -1750,8 +1744,8 @@ from Sun's patch site. ...@@ -1750,8 +1744,8 @@ from Sun's patch site.
@html @html
</p> </p>
<hr> <hr>
<h3><a name="sparc-unknown-linux-gnulibc1">sparc-unknown-linux-gnulibc1</a></h3>
@end html @end html
@heading @anchor{sparc-unknown-linux-gnulibc1}sparc-unknown-linux-gnulibc1
It has been reported that you might need It has been reported that you might need
@uref{ftp://ftp.yggdrasil.com/private/hjl,,binutils-2.8.1.0.23} @uref{ftp://ftp.yggdrasil.com/private/hjl,,binutils-2.8.1.0.23}
...@@ -1761,8 +1755,8 @@ for this platform, too. ...@@ -1761,8 +1755,8 @@ for this platform, too.
@html @html
</p> </p>
<hr> <hr>
<h3><a name="sparc64-*-*">sparc64-*-*</a></h3>
@end html @end html
@heading @anchor{sparc64-*-*}sparc64-*-*
GCC version 2.95 is not able to compile code correctly for GCC version 2.95 is not able to compile code correctly for
@code{sparc64} targets. Users of the Linux kernel, at least, @code{sparc64} targets. Users of the Linux kernel, at least,
...@@ -1774,8 +1768,8 @@ recognize (via @samp{uname -a}) the system as @var{sparc-*-*} instead. ...@@ -1774,8 +1768,8 @@ recognize (via @samp{uname -a}) the system as @var{sparc-*-*} instead.
@html @html
</p> </p>
<hr> <hr>
<h3><a name="windows"></a>Microsoft Windows (32 bit)</h3>
@end html @end html
@heading @anchor{windows}Microsoft Windows (32 bit)
A port of GCC 2.95.x is included with the A port of GCC 2.95.x is included with the
@uref{http://www.cygwin.com/,,Cygwin environment}. @uref{http://www.cygwin.com/,,Cygwin environment}.
...@@ -1786,8 +1780,8 @@ without modification. ...@@ -1786,8 +1780,8 @@ without modification.
@html @html
</p> </p>
<hr> <hr>
<h3><a name="os2"></a>OS/2</h3>
@end html @end html
@heading @anchor{os2}OS/2
GCC does not currently support OS/2. However, Andrew Zabolotny has been GCC does not currently support OS/2. However, Andrew Zabolotny has been
working on a generic OS/2 port with pgcc. The current code code can be found working on a generic OS/2 port with pgcc. The current code code can be found
...@@ -1800,8 +1794,8 @@ ftp://ftp.leo.org/pub/comp/os/os2/leo/devtools/emx+gcc/}. ...@@ -1800,8 +1794,8 @@ ftp://ftp.leo.org/pub/comp/os/os2/leo/devtools/emx+gcc/}.
@html @html
</p> </p>
<hr> <hr>
<h3><a name="older"></a>Older systems</h3>
@end html @end html
@heading @anchor{older}Older systems
GCC contains support files for many older (1980s and early GCC contains support files for many older (1980s and early
1990s) Unix variants. For the most part, support for these systems 1990s) Unix variants. For the most part, support for these systems
...@@ -1844,8 +1838,8 @@ current GCC) is to be found in the GCC texinfo manual. ...@@ -1844,8 +1838,8 @@ current GCC) is to be found in the GCC texinfo manual.
@html @html
</p> </p>
<hr> <hr>
<h3><a name="elf_targets">all ELF targets (SVR4, Solaris, etc.)</a></h3>
@end html @end html
@heading @anchor{elf_targets}all ELF targets (SVR4, Solaris, etc.)
C++ support is significantly better on ELF targets if you use the C++ support is significantly better on ELF targets if you use the
@uref{./configure.html#with-gnu-ld,,GNU linker}; duplicate copies of @uref{./configure.html#with-gnu-ld,,GNU linker}; duplicate copies of
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment