summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-09-11 17:36:21 +0200
committerLudovic Courtès <ludo@gnu.org>2012-09-11 22:08:55 +0200
commit321b099643cd4aae4481e7c9fb23b7c3fd3235cb (patch)
tree7c87d3075b3097cf947ab107e9cf6f73254f8e8e /Makefile.am
parentbe13fbfa83dd3e3c7a7a3d09f9c520940eb350d4 (diff)
downloadguix-patches-321b099643cd4aae4481e7c9fb23b7c3fd3235cb.tar
guix-patches-321b099643cd4aae4481e7c9fb23b7c3fd3235cb.tar.gz
distro: Bootstrap via a cross-toolchain.
This allows the final toolchain to be completely independent of %BOOTSTRAP-INPUTS. * distro/base.scm (glibc-dynamic-linker): New procedure. (gcc-4.7): Remove #:path-exclusions argument. Check whether LIBC is #f before using it. (glibc): Remove "libc_cv_as_needed" hack. Patch `Makeconfig' to remove `-lgcc_s'. (nix-system->gnu-triplet, boot-triplet): New variables. (binutils-boot0): Turn into a cross-Binutils targeting (boot-triplet SYSTEM). (gcc-boot0): Likewise. Add configure options to make a smaller build. Remove "binutils-source" from the input, and use BINUTILS-BOOT0 instead. (glibc-final): Cross-build using GCC-BOOT0 and BINUTILS-BOOT0. (gcc-boot0-wrapped): New variable. (%boot2-inputs): Use it. (m4-boot2, gmp-boot2, mpfr-boot2, mpc-boot2): Remove. (binutils-final): New variable. (gcc-final): Turn into a joint build with GMP/MPFR/MPC. Use BINUTILS-FINAL. (%boot3-inputs): Adjust accordingly. (%boot4-inputs): Remove. (%final-inputs): Use %BOOT3-INPUTS.
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions