[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
49/63: bootstrap: gcc-mesboot: Scheme-only bootstrap.
From: |
guix-commits |
Subject: |
49/63: bootstrap: gcc-mesboot: Scheme-only bootstrap. |
Date: |
Sun, 24 Nov 2019 06:07:28 -0500 (EST) |
janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit 41bb9baec17c604dfde3974010fc74ca648cf232
Author: Jan Nieuwenhuizen <address@hidden>
Date: Fri Nov 22 22:31:06 2019 +0100
bootstrap: gcc-mesboot: Scheme-only bootstrap.
* gnu/packages/commencement.scm (gcc-mesboot): Scheme-only bootstrap.
---
gnu/packages/commencement.scm | 27 +++++++++++++++++++--------
1 file changed, 19 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index a9c0381..3eb8823 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2495,16 +2495,24 @@ exec " gcc "/bin/" program
(name "gcc-mesboot")
(version "4.9.4")
(source (bootstrap-origin (package-source gcc-4.9)))
- (native-inputs `(("binutils" ,binutils-mesboot)
+ (native-inputs `(("bash" ,bash-mesboot)
+ ("binutils" ,binutils-mesboot)
+ ("bzip2" ,bzip2-mesboot0)
+ ("coreutils" ,coreutils-mesboot0)
+ ("diffutils" ,diffutils-mesboot)
+ ("gawk" ,gawk-mesboot)
("gcc-wrapper" ,gcc-mesboot1-wrapper)
("gcc" ,gcc-mesboot1)
+ ("grep" ,grep-mesboot)
+ ("gzip" ,gzip-mesboot0)
("libc" ,glibc-mesboot)
+ ("make" ,make-mesboot)
+ ("patch" ,patch-mesboot0)
+ ("sed" ,sed-mesboot)
+ ("tar" ,tar-mesboot)
+ ("xz" ,xz-mesboot)
- ("bash" ,%bootstrap-coreutils&co)
- ("coreutils" ,%bootstrap-coreutils&co)
- ("diffutils" ,diffutils-mesboot)
- ("kernel-headers" ,%bootstrap-linux-libre-headers)
- ("make" ,make-mesboot)))
+ ("kernel-headers" ,%bootstrap-linux-libre-headers)))
(arguments
`(#:validate-runpath? #f
,@(substitute-keyword-arguments (package-arguments gcc-mesboot1)
@@ -2549,6 +2557,9 @@ exec " gcc "/bin/" program
"--disable-build-with-cxx")))
((#:phases phases)
`(modify-phases ,phases
+ (delete 'apply-boot-patch)
+ (delete 'unpack-g++) ; sadly, gcc-4.9.4 does not provide
+ ; modular core/language downloads
(replace 'setenv
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
@@ -2559,12 +2570,12 @@ exec " gcc "/bin/" program
(kernel-headers (assoc-ref %build-inputs
"kernel-headers")))
(setenv "CONFIG_SHELL" (string-append bash "/bin/sh"))
(setenv "C_INCLUDE_PATH" (string-append
- gcc
"/lib/gcc-lib/i686-unknown-linux-gnu/4.7.4/include"
+ gcc
"/lib/gcc-lib/i686-unknown-linux-gnu/4.6.4/include"
":" kernel-headers "/include"
":" glibc "/include"
":" (getcwd) "/mpfr/src"))
(setenv "CPLUS_INCLUDE_PATH" (string-append
- gcc
"/lib/gcc-lib/i686-unknown-linux-gnu/4.7.4/include"
+ gcc
"/lib/gcc-lib/i686-unknown-linux-gnu/4.6.4/include"
":" kernel-headers
"/include"
":" glibc "/include"
":" (getcwd) "/mpfr/src"))
- 39/63: bootstrap: Add sed-mesboot., (continued)
- 39/63: bootstrap: Add sed-mesboot., guix-commits, 2019/11/24
- 40/63: bootstrap: Add gcc-core-mesboot1., guix-commits, 2019/11/24
- 41/63: bootstrap: Add bash-mesboot., guix-commits, 2019/11/24
- 42/63: bootstrap: Add gcc-mesboot1: Scheme-only bootstrap., guix-commits, 2019/11/24
- 43/63: bootstrap: Add xz-mesboot., guix-commits, 2019/11/24
- 44/63: bootstrap: Add hello-mesboot., guix-commits, 2019/11/24
- 45/63: bootstrap: binutils-mesboot: Scheme-only bootstrap., guix-commits, 2019/11/24
- 46/63: bootstrap: glibc-headers-mesboot: Scheme-only bootstrap., guix-commits, 2019/11/24
- 47/63: bootstrap: glibc-mesboot: Scheme-only bootstrap., guix-commits, 2019/11/24
- 48/63: bootstrap: gcc-mesboot1-wrapper: Scheme-only bootstrap., guix-commits, 2019/11/24
- 49/63: bootstrap: gcc-mesboot: Scheme-only bootstrap.,
guix-commits <=
- 50/63: bootstrap: gcc-mesboot-wrapper: Scheme-only bootstrap., guix-commits, 2019/11/24
- 52/63: bootstrap: Remove m4-bootstrap., guix-commits, 2019/11/24
- 51/63: bootstrap: Add coreutils-mesboot., guix-commits, 2019/11/24
- 53/63: bootstrap: %bootstrap-inputs+toolchain: Scheme-only bootstrap., guix-commits, 2019/11/24
- 54/63: bootstrap: Add sed-boot0., guix-commits, 2019/11/24
- 55/63: bootstrap: Remove %bootstrap-coreutils&co, %bootstrap-bash., guix-commits, 2019/11/24
- 56/63: gnu: Add ed-1.4., guix-commits, 2019/11/24
- 57/63: bootstrap: Add ed-boot0., guix-commits, 2019/11/24
- 58/63: bootstrap: Add patch-boot0., guix-commits, 2019/11/24
- 59/63: bootstrap: Add bzip2-boot0., guix-commits, 2019/11/24