# Installing GCC: Final installation

Now that GCC has been built (and optionally tested), you can install it with

    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 3.1, 3.0, or 2.95. 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:

- Output from running `srcdir/config.guess`. Do not send us that file itself, just the one-line output from running it.
- The output of `gcc -v` for your newly installed gcc. This tells us which version of GCC you built and the options you passed to configure.
- Whether you enabled all languages or a subset of them. If you used a full distribution then this information is part of the configure options in the output of `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.
- If the build was for GNU/Linux, also include:
  - The distribution name and version (e.g., Red Hat 7.1 or Debian 2.2.3); this information should be available from `/etc/issue`.
  - The version of the Linux kernel, available from `uname --version` or `uname -a`.
  - The version of glibc you used; for RPM-based systems like Red Hat, Mandrake, and SuSE type `rpm -q glibc` to get the glibc version, and on systems like Debian and Progeny use `dpkg -l libc6`.
  For other systems, you can include similar information if you think it is relevant.
- Any other information that you think would be useful to people building GCC on the same configuration. The new entry in the build status list will include a link to the archived copy of your message.

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.

Return to the GCC Installation page