[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
62/66: gnu: gcc: Also substitute the dynamic linker name for GNU (ie. Hu
From: |
Manolis Fragkiskos Ragkousis |
Subject: |
62/66: gnu: gcc: Also substitute the dynamic linker name for GNU (ie. Hurd) systems. |
Date: |
Thu, 21 May 2015 12:52:11 +0000 |
phant0mas pushed a commit to branch wip-hurd
in repository guix.
commit 6539e2f46b1656e27f94ee6ae3c60725316e8ba0
Author: Marek Benc <address@hidden>
Date: Thu Feb 5 17:12:54 2015 +0100
gnu: gcc: Also substitute the dynamic linker name for GNU (ie. Hurd)
systems.
* gnu/packages/gcc.scm (gcc-4.7): Also substitute the dynamic linker name
for GNU (ie. Hurd) systems.
Signed-off-by: Manolis Ragkousis <address@hidden>
---
gnu/packages/gcc.scm | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index 4512e54..1f7b9b6 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -218,6 +218,13 @@ where the OS part is overloaded to denote a specific
ABI---into GCC
suffix
(string-append libc ,(glibc-dynamic-linker)))))
+ (substitute* (find-files "gcc/config"
+ "^gnu(64|-elf)?\\.h$")
+ (("#define GNU_USER_DYNAMIC_LINKER([^ ]*).*$" _ suffix)
+ (format #f "#define GNU_USER_DYNAMIC_LINKER~a \"~a\"~%"
+ suffix
+ (string-append libc ,(glibc-dynamic-linker)))))
+
;; Tell where to find libstdc++, libc, and `?crt*.o', except
;; `crt{begin,end}.o', which come with GCC.
(substitute* (find-files "gcc/config"
- 56/66: gnu: vcftools: Remove "-m64" from CFLAGS., (continued)
- 56/66: gnu: vcftools: Remove "-m64" from CFLAGS., Manolis Fragkiskos Ragkousis, 2015/05/21
- 53/66: gnu: Add bluez., Manolis Fragkiskos Ragkousis, 2015/05/21
- 55/66: gnu: fltk: Fix undefined symbol errors for shared libraries., Manolis Fragkiskos Ragkousis, 2015/05/21
- 60/66: gnu: bootstrap: Add the location of where ld.so is located on Hurd systems., Manolis Fragkiskos Ragkousis, 2015/05/21
- 61/66: gnu: cross-base: Make it aware of non-Linux (ie. Hurd) systems., Manolis Fragkiskos Ragkousis, 2015/05/21
- 54/66: gnu: ardour: Add library dirs to RUNPATH., Manolis Fragkiskos Ragkousis, 2015/05/21
- 57/66: environment: Use (guix search-paths)., Manolis Fragkiskos Ragkousis, 2015/05/21
- 64/66: gnu: hurd: Pass --build to gnumach-headers when not cross building., Manolis Fragkiskos Ragkousis, 2015/05/21
- 63/66: gnu: acl: Fix i686-gnu build., Manolis Fragkiskos Ragkousis, 2015/05/21
- 65/66: gnu: hurd: Pass --build to hurd-headers when not cross building., Manolis Fragkiskos Ragkousis, 2015/05/21
- 62/66: gnu: gcc: Also substitute the dynamic linker name for GNU (ie. Hurd) systems.,
Manolis Fragkiskos Ragkousis <=
- 58/66: gnu: base: Add glibc-hurd and hurd-minimal., Manolis Fragkiskos Ragkousis, 2015/05/21
- 52/66: gnu: Add libical., Manolis Fragkiskos Ragkousis, 2015/05/21
- 59/66: gnu: cross-base: Add support to cross-build libc for GNU/Hurd., Manolis Fragkiskos Ragkousis, 2015/05/21
- 66/66: gnu: hurd: Add flex as an input to mig., Manolis Fragkiskos Ragkousis, 2015/05/21