[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/16: gnu: gcc: Also substitute the dynamic linker name for GNU (ie. Hu
From: |
Manolis Fragkiskos Ragkousis |
Subject: |
05/16: gnu: gcc: Also substitute the dynamic linker name for GNU (ie. Hurd) systems. |
Date: |
Sun, 19 Jul 2015 19:28:24 +0000 |
phant0mas pushed a commit to branch wip-hurd
in repository guix.
commit f76ea0df652ee2311d5b093bb2ccd17851697adf
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 6aa0942..25e23ce 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -212,6 +212,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 f984899), Manolis Fragkiskos Ragkousis, 2015/07/19
- 03/16: gnu: bootstrap: Add the location of where ld.so is located on Hurd systems., Manolis Fragkiskos Ragkousis, 2015/07/19
- 02/16: gnu: cross-base: Add support to cross-build libc for GNU/Hurd., Manolis Fragkiskos Ragkousis, 2015/07/19
- 04/16: gnu: cross-base: Make it aware of non-Linux (ie. Hurd) systems., Manolis Fragkiskos Ragkousis, 2015/07/19
- 05/16: gnu: gcc: Also substitute the dynamic linker name for GNU (ie. Hurd) systems.,
Manolis Fragkiskos Ragkousis <=
- 07/16: gnu: hurd: Pass --build to gnumach-headers when not cross building., Manolis Fragkiskos Ragkousis, 2015/07/19
- 08/16: gnu: hurd: Pass --build to hurd-headers when not cross building., Manolis Fragkiskos Ragkousis, 2015/07/19
- 06/16: gnu: acl: Fix i686-gnu build., Manolis Fragkiskos Ragkousis, 2015/07/19
- 01/16: gnu: base: Add glibc-hurd and hurd-minimal., Manolis Fragkiskos Ragkousis, 2015/07/19
- 09/16: gnu: hurd: Add flex as an input to mig., Manolis Fragkiskos Ragkousis, 2015/07/19
- 10/16: gnu: glibc/hurd-headers: Propagate Hurd and Mach headers., Manolis Fragkiskos Ragkousis, 2015/07/19
- 13/16: gnu: make-bootstrap: Remove unneeded configure flag from %gcc-static., Manolis Fragkiskos Ragkousis, 2015/07/19
- 12/16: gnu: base: Added glibc-for-target macro., Manolis Fragkiskos Ragkousis, 2015/07/19
- 11/16: gnu: base: Updated glibc-hurd to 2.19 and removed patches., Manolis Fragkiskos Ragkousis, 2015/07/19
- 14/16: gnu: cross-base: Build the correct cross-mig., Manolis Fragkiskos Ragkousis, 2015/07/19