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:

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