guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

32/63: bootstrap: gcc-mesboot0: Scheme-only bootstrap.


From: guix-commits
Subject: 32/63: bootstrap: gcc-mesboot0: Scheme-only bootstrap.
Date: Sun, 24 Nov 2019 05:56:35 -0500 (EST)

janneke pushed a commit to branch wip-bootstrap
in repository guix.

commit 44a04236a79239ed085b3908497b0afc9545dabf
Author: Jan Nieuwenhuizen <address@hidden>
Date:   Fri Nov 22 16:16:59 2019 +0100

    bootstrap: gcc-mesboot0: Scheme-only bootstrap.
    
    * gnu/packages/commencement.scm (gcc-mesboot0): Scheme-only bootstrap.
---
 gnu/packages/commencement.scm | 26 +++++++++++++++-----------
 1 file changed, 15 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 8bcd325..16beafd 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -1366,15 +1366,19 @@ 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"))
+                     ("binutils" ,binutils-mesboot0)
+                     ("bash" ,bash-mesboot0)
                      ("gcc" ,gcc-core-mesboot0)
+                     ("gzip" ,gzip-mesboot0)
                      ("libc" ,glibc-mesboot0)
+                     ("make" ,make-mesboot0)
+                     ("patch" ,patch-mesboot0)
+                     ("sed" ,sed-mesboot0)
 
-                     ("bash" ,%bootstrap-coreutils&co)
-                     ("coreutils" ,%bootstrap-coreutils&co)
-                     ("diffutils" ,diffutils-mesboot)
-                     ("kernel-headers" ,%bootstrap-linux-libre-headers)
-                     ("make" ,make-mesboot0)))
+                     ("gash" ,%bootstrap-gash)
+                     ("guile" ,%bootstrap-guile)
+                     ("kernel-headers" ,%bootstrap-linux-libre-headers)))
     (arguments
      (substitute-keyword-arguments (package-arguments gcc-core-mesboot0)
        ((#:phases phases)
@@ -1411,11 +1415,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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]