[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/19: gnu: gcc: Also substitute the dynamic linker name for GNU (ie. Hu
From: |
Manolis Fragkiskos Ragkousis |
Subject: |
04/19: gnu: gcc: Also substitute the dynamic linker name for GNU (ie. Hurd) systems. |
Date: |
Mon, 28 Dec 2015 19:17:02 +0000 |
phant0mas pushed a commit to branch wip-hurd
in repository guix.
commit f2c275ee4c803b19b2f1849c0d983714f532296b
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 2848e43..95d096f 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -214,6 +214,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"
- branch wip-hurd created (now d80d08d), Manolis Fragkiskos Ragkousis, 2015/12/28
- 03/19: gnu: cross-base: Make it aware of non-Linux (ie. Hurd) systems., Manolis Fragkiskos Ragkousis, 2015/12/28
- 01/19: gnu: base: Add glibc-hurd and hurd-minimal., Manolis Fragkiskos Ragkousis, 2015/12/28
- 02/19: gnu: cross-base: Add support to cross-build libc for GNU/Hurd., Manolis Fragkiskos Ragkousis, 2015/12/28
- 04/19: gnu: gcc: Also substitute the dynamic linker name for GNU (ie. Hurd) systems.,
Manolis Fragkiskos Ragkousis <=
- 06/19: gnu: hurd: Pass --build to hurd-headers when not cross building., Manolis Fragkiskos Ragkousis, 2015/12/28
- 05/19: gnu: hurd: Pass --build to gnumach-headers when not cross building., Manolis Fragkiskos Ragkousis, 2015/12/28
- 08/19: gnu: base: Added glibc-for-target macro., Manolis Fragkiskos Ragkousis, 2015/12/28
- 10/19: gnu: base: Build glibc-hurd for i586-pc-gnu instead of i686-pc-gnu., Manolis Fragkiskos Ragkousis, 2015/12/28
- 07/19: gnu: base: Updated glibc-hurd to 2.19 and removed patches., Manolis Fragkiskos Ragkousis, 2015/12/28
- 09/19: gnu: cross-base: Build the correct cross-mig., Manolis Fragkiskos Ragkousis, 2015/12/28
- 12/19: gnu: base: Disable bogus code in Hurd's glibc., Manolis Fragkiskos Ragkousis, 2015/12/28
- 14/19: gnu: glibc/hurd: Use hurd-kernel-headers package., Manolis Fragkiskos Ragkousis, 2015/12/28
- 13/19: gnu: hurd: Add hurd-kernel-headers package., Manolis Fragkiskos Ragkousis, 2015/12/28
- 11/19: gnu: make-bootstrap: Produce the correct %glibc-bootstrap-tarball for Hurd systems., Manolis Fragkiskos Ragkousis, 2015/12/28