cd objdir; make install
We strongly recommend to install into a target directory where there is no previous version of GCC present.
That step completes the installation of GCC; user level binaries can
be found in prefix/bin
where prefix is the value you
specified with the --prefix
to configure (or /usr/local
by default). (If you specified --bindir
, that directory will
be used instead; otherwise, if you specified --exec-prefix
,
exec-prefix/bin
will be used.) Headers for the C++ and
Java libraries are installed in prefix/include
; libraries
in libdir
(normally prefix/lib
); internal
parts of the compiler in libdir/gcc-lib
; documentation in
info format in infodir
(normally prefix/info
).
If you built a released version of GCC using make bootstrap
then please
quickly review the build status page for your release, available from
http://gcc.gnu.org/buildstat.html.
If your system is not listed for the version of GCC that you built,
send a note to
gcc@gcc.gnu.org indicating
that you successfully built and installed GCC.
Include the following information:
srcdir/config.guess
. Do not send us
that file itself, just the one-line output from running it.
gcc -v
for your newly installed gcc.
This tells us which version of GCC you built and the options you passed to
configure.
gcc -v
, but if you downloaded the
"core" compiler plus additional front ends then it isn't apparent
which ones you built unless you tell us about it.
/etc/issue
.
uname --version
or uname -a
.
rpm -q glibc
to get the glibc version,
and on systems like Debian and Progeny use dpkg -l libc6
.
We'd also like to know if the host/target specific installation notes didn't include your host/target information or if that information is incomplete or out of date. Send a note to gcc@gcc.gnu.org telling us how the information should be changed.
If you find a bug, please report it following our bug reporting guidelines.
If you want to print the GCC manuals, do cd objdir; make
dvi
. You will need to have texi2dvi
(version at least 4.1)
and TeX installed. This creates a number of .dvi
files in
subdirectories of objdir
; these may be converted for
printing with programs such as dvips
. You can also
buy printed manuals from the Free Software Foundation, though such manuals may not be for the most
recent version of GCC.