[[!meta title="Bootstrap of the i686-linux-eglibc Port"]] This port was renamed to `i686-linux-glibc` and, along with `amd64-linux-glibc`, bootstrapped and uploaded on 2014-03-19. **The rest of this page is kept only for reference and historical purposes.** --- Following is the planned procedure to bootstrap the i686-linux-eglibc port from a core-linux-eglibc system. This procedure assumes that all base system and build essential packages are installed, along with libgmp-dev, libmpfr-dev, and libmpc-dev. These steps are overly simplified and useful only as a reference. 1. Build a Compiler That Can Build Headers ========================================== Natively build Binutils with the following architecture specifications: * Build arch: core-linux-eglibc * Host-arch: core-linux-eglibc * Target arch: i686-linux-eglibc Natively build GCC without building shared libraries and without linking against libc with the following architecture specifications: * Build arch: core-linux-eglibc * Host-arch: core-linux-eglibc * Target arch: i686-linux-eglibc 2. Build Headers ================ Cross build Linux headers with the following architecture specifications: * Build arch: core-linux-eglibc * Host-arch: i686-linux-eglibc Cross build EGLIBC headers with the following architecture specifications: * Build arch: core-linux-eglibc * Host-arch: i686-linux-eglibc 3. Build a Compiler That Can Build a C Library ============================================== Natively build GCC without building shared libraries with the following architecture specifications: * Build arch: core-linux-eglibc * Host-arch: core-linux-eglibc * Target arch: i686-linux-eglibc 4. Build a C Library ==================== Cross build EGLIBC with the following architecture specifications: * Build arch: core-linux-eglibc * Host-arch: i686-linux-eglibc 5. Build a Final Compiler ========================= Natively build GCC with the following architecture specifications: * Build arch: core-linux-eglibc * Host-arch: core-linux-eglibc * Target arch: i686-linux-eglibc 6. Build Everything for the Target ================================== Using the new cross toolchain, cross build all packages for i686-linux-eglibc.