[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
22/63: gnu: commencement: gcc-mesboot0: Use Gash instead of coretutils&c
From: |
guix-commits |
Subject: |
22/63: gnu: commencement: gcc-mesboot0: Use Gash instead of coretutils&co. |
Date: |
Mon, 17 Feb 2020 16:00:56 -0500 (EST) |
janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit 08d2d972c31baeb220f0e0fd02fa509b9dbd5734
Author: Jan Nieuwenhuizen <address@hidden>
AuthorDate: Fri Nov 22 16:16:59 2019 +0100
gnu: commencement: gcc-mesboot0: Use Gash instead of coretutils&co.
* gnu/packages/commencement.scm (gcc-mesboot0): Use Gash instead of
coretutils&co.
* gnu/packages/commencement.scm (%boot-mesboot0-inputs): New variable.
---
gnu/packages/commencement.scm | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 1ee9748..1427c69 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -1589,18 +1589,12 @@ BASH = ")))
(package
(inherit gcc-core-mesboot0)
(name "gcc-mesboot0")
- (native-inputs `(("binutils" ,binutils-mesboot0)
-
+ (native-inputs `(("boot-patch" ,(search-patch "gcc-boot-2.95.3.patch"))
;; Packages are given in an order that's relevant for
;; #include_next purposes.
("libc" ,glibc-mesboot0)
("kernel-headers" ,%bootstrap-linux-libre-headers)
- ("gcc" ,gcc-core-mesboot0)
-
- ("bash" ,%bootstrap-coreutils&co)
- ("coreutils" ,%bootstrap-coreutils&co)
- ("diffutils" ,diffutils-mesboot)
- ("make" ,make-mesboot0)))
+ ,@(%boot-mesboot-core-inputs)))
(arguments
(substitute-keyword-arguments (package-arguments gcc-core-mesboot0)
((#:phases phases)
@@ -1619,11 +1613,11 @@ ac_cv_c_float_format='IEEE (little-endian)'
(let* ((out (assoc-ref outputs "out"))
(gcc-dir (string-append
out
"/lib/gcc-lib/i686-unknown-linux-gnu/2.95.3")))
- (mkdir-p "tmp")
- (zero? (system (string-append "set -x; cd tmp && ar x
../gcc/libgcc2.a")))
- (zero? (system (string-append "set -x; cd tmp && ar r "
gcc-dir "/libgcc.a *.o")))
- (copy-file "gcc/libgcc2.a" (string-append out
"/lib/libgcc2.a"))
- #t)))))
+ (and
+ (mkdir-p "tmp")
+ (zero? (system (string-append "set -x; cd tmp && ar x
../gcc/libgcc2.a")))
+ (zero? (system (string-append "set -x; cd tmp && ar r "
gcc-dir "/libgcc.a *.o")))
+ (copy-file "gcc/libgcc2.a" (string-append out
"/lib/libgcc2.a"))))))))
((#:configure-flags configure-flags)
`(let ((out (assoc-ref %outputs "out")))
`("--disable-shared"
@@ -1637,6 +1631,12 @@ ac_cv_c_float_format='IEEE (little-endian)'
,(string-append "LIBGCC2_INCLUDES=-I " gcc "/include")
"LANGUAGES=c")))))))
+(define (%boot-mesboot0-inputs)
+ `(("gcc" ,gcc-mesboot0)
+ ("kernel-headers" ,%bootstrap-linux-libre-headers)
+ ("libc" ,glibc-mesboot0)
+ ,@(alist-delete "gcc" (%boot-mesboot-core-inputs))))
+
(define binutils-mesboot
(package
(inherit binutils-mesboot0)
- 10/63: gnu: commencement: make-mesboot0: Use Gash instead of coreutils&co., (continued)
- 10/63: gnu: commencement: make-mesboot0: Use Gash instead of coreutils&co., guix-commits, 2020/02/17
- 12/63: gnu: commencement: Add bash-mesboot0., guix-commits, 2020/02/17
- 19/63: gnu: commencement: Add gawk-mesboot0., guix-commits, 2020/02/17
- 24/63: gnu: commencement: Add grep-mesboot., guix-commits, 2020/02/17
- 06/63: gnu: commencement: Add %bootstrap-mes-rewired., guix-commits, 2020/02/17
- 07/63: gnu: commencement: mes-boot: Use Gash instead of coretutils&co., guix-commits, 2020/02/17
- 17/63: gnu: commencement: binutils-mesboot0: Use Gash instead of coretutils&co., guix-commits, 2020/02/17
- 14/63: gnu: commencement: diffutils-mesboot: Use Gash instead of coretutils&co., guix-commits, 2020/02/17
- 16/63: gnu: commencement: Add sed-mesboot0., guix-commits, 2020/02/17
- 21/63: gnu: commencement: glibc-mesboot0: Use Gash instead of coretutils&co., guix-commits, 2020/02/17
- 22/63: gnu: commencement: gcc-mesboot0: Use Gash instead of coretutils&co.,
guix-commits <=
- 23/63: gnu: commencement: Add tar-mesboot., guix-commits, 2020/02/17
- 25/63: gnu: commencement: Add binutils-mesboot1., guix-commits, 2020/02/17
- 26/63: gnu: commencement: Add coreutils-mesboot0., guix-commits, 2020/02/17
- 33/63: gnu: commencement: Add xz-mesboot., guix-commits, 2020/02/17
- 34/63: gnu: commencement: Add hello-mesboot., guix-commits, 2020/02/17
- 29/63: gnu: commencement: Add sed-mesboot., guix-commits, 2020/02/17
- 36/63: gnu: commencement: glibc-headers-mesboot: Use Gash instead of coreutils&co., guix-commits, 2020/02/17
- 43/63: gnu: commencement: %bootstrap-inputs+toolchain: Use Gash instead of coreutils&co., guix-commits, 2020/02/17
- 13/63: gnu: commencement: tcc-boot: Use Gash instead of coretutils&co., guix-commits, 2020/02/17
- 15/63: gnu: commencement: Add patch-mesboot., guix-commits, 2020/02/17