title: How to install GCC piece by piece with GMP, MPFR, MPC, ELF, without shared libraries?
body: <p>How do I install GCC (the GNU Compiler Collection) piece by piece, using the current version,<br>
  using the correct versions of dependencies, not using a package manager (like yum, rpm, apt, dpkg), and not using shared libraries?</p>
  
  <p>Typical developers will likely want to install GCC the typical way, use your package manager (yum, rpm, apt, dpkg, port, brew, etc.) or follow the instructions here (<a href="http://gcc.gnu.org/wiki/InstallingGCC" rel="noreferrer">http://gcc.gnu.org/wiki/InstallingGCC</a>).</p>
  
  <p>My question is how to install GCC piece by piece, without shared libraries.</p>
  
  <ul>
  <li>I want a fully-independent GCC that can be moved around my system without using any shared libraries, and without creating any shared libraries.</li>
  <li>This is what GCC calls "the difficult way" and it is not recommended for typical users.</li>
  </ul>
  
  <p>GCC depends on:</p>
  
  <ul>
  <li>GMP: GNU Multiple Precision Arithmetic Library</li>
  <li>MPFR: GNU Multiple-precision floating-point rounding library</li>
  <li>MPC: GNU Multiple-precision C library</li>
  <li>ELF: Executable and Linkable Format library</li>
  <li>PPL: Parma Polyhedra Library (optional, for memory optimizations)</li>
  </ul>