gccinstall: Downloading the source

1 
1 3 Downloading GCC
1 *****************
1 
1 GCC is distributed via git and via HTTPS as tarballs compressed with
1 'gzip' or 'bzip2'.
1 
1    Please refer to the releases web page for information on how to
1 obtain GCC.
1 
1    The source distribution includes the C, C++, Objective-C, Fortran,
1 and Ada (in the case of GCC 3.1 and later) compilers, as well as runtime
1 libraries for C++, Objective-C, and Fortran.  For previous versions
1 these were downloadable as separate components such as the core GCC
1 distribution, which included the C language front end and shared
1 components, and language-specific distributions including the language
1 front end and the language runtime (where appropriate).
1 
1    If you also intend to build binutils (either to upgrade an existing
1 installation or for use in place of the corresponding tools of your OS),
1 unpack the binutils distribution either in the same directory or a
1 separate one.  In the latter case, add symbolic links to any components
1 of the binutils you intend to build alongside the compiler ('bfd',
1 'binutils', 'gas', 'gprof', 'ld', 'opcodes', ...) to the directory
1 containing the GCC sources.
1 
1    Likewise the GMP, MPFR and MPC libraries can be automatically built
1 together with GCC. You may simply run the
1 'contrib/download_prerequisites' script in the GCC source directory to
1 set up everything.  Otherwise unpack the GMP, MPFR and/or MPC source
1 distributions in the directory containing the GCC sources and rename
1 their directories to 'gmp', 'mpfr' and 'mpc', respectively (or use
1 symbolic links with the same name).
1