diff options
author | Mark H Weaver <mhw@netris.org> | 2015-01-07 15:55:23 -0500 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2015-01-07 16:27:55 -0500 |
commit | 3f00ff8b43bfef244e211d1c9bb71132926c1580 (patch) | |
tree | 9f8a21681509305477d46e9951ae59e57f1023fc /gnu/packages/bootstrap.scm | |
parent | f7d2b496b9a3f613aff50fef1e56d9f3aab99c7b (diff) | |
download | patches-3f00ff8b43bfef244e211d1c9bb71132926c1580.tar patches-3f00ff8b43bfef244e211d1c9bb71132926c1580.tar.gz |
gnu: Add toolchain support for 'armhf-linux'.
Based on preliminary work by John Darrington <john@darrington.wattle.id.au>.
* gnu/packages/cross-base.scm (xgcc-armhf): New variable.
* gnu/packages/gcc.scm (gcc-configure-flags-for-triplet): Add armhf case.
(gcc-4.7)[pre-configure]: Add gcc/config/*/linux-eabi.h to the list
of files in which to patch GLIBC_DYNAMIC_LINKER.
* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add armhf case.
* guix/utils.scm (gnu-triplet->nix-system, nix-system->gnu-triplet):
Add armhf cases.
Diffstat (limited to 'gnu/packages/bootstrap.scm')
-rw-r--r-- | gnu/packages/bootstrap.scm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm index f1110d9cf0..e1b50a1e4f 100644 --- a/gnu/packages/bootstrap.scm +++ b/gnu/packages/bootstrap.scm @@ -162,6 +162,7 @@ successful, or false to signal an error." "Return the name of Glibc's dynamic linker for SYSTEM." (cond ((string=? system "x86_64-linux") "/lib/ld-linux-x86-64.so.2") ((string=? system "i686-linux") "/lib/ld-linux.so.2") + ((string=? system "armhf-linux") "/lib/ld-linux-armhf.so.3") ((string=? system "mips64el-linux") "/lib/ld.so.1") ;; XXX: This one is used bare-bones, without a libc, so add a case |