[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
92/160: gnu: Add binutils-boot 2.20.1, built with gcc+glibc.
From: |
Jan Nieuwenhuizen |
Subject: |
92/160: gnu: Add binutils-boot 2.20.1, built with gcc+glibc. |
Date: |
Tue, 28 Aug 2018 15:56:25 -0400 (EDT) |
janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit e4f7217ea271be98331eb48e265b54899177e4fa
Author: Jan Nieuwenhuizen <address@hidden>
Date: Sun Jun 17 20:52:37 2018 +0200
gnu: Add binutils-boot 2.20.1, built with gcc+glibc.
* gnu/packages/mes.scm (binutils-boot0): Rename from binutils-boot.
(binutils-boot): New package.
---
gnu/packages/mes.scm | 49 ++++++++++++++++++++++++++++++++++++++++---------
1 file changed, 40 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/mes.scm b/gnu/packages/mes.scm
index cf7edc7..c003989 100644
--- a/gnu/packages/mes.scm
+++ b/gnu/packages/mes.scm
@@ -542,10 +542,10 @@ standard.")
(system* "./configure"
(string-append "--prefix=" out)))))))))))
-(define-public binutils-boot
+(define-public binutils-boot0
(package
(inherit binutils)
- (name "binutils-boot")
+ (name "binutils-boot0")
(version "2.14")
(source (origin
(method url-fetch)
@@ -555,7 +555,7 @@ standard.")
(base32
"1w8xp7k44bkijr974x9918i4p1sw4g2fcd5mxvspkjpg38m214ds"))))
(supported-systems '("i686-linux"))
- (native-inputs `(("flex" ,flex) ; MORTAL SIN HERE
+ (native-inputs `(("flex" ,flex) ; MORTAL SIN HERE
("mes" ,mes-boot)
("tcc" ,tcc-boot)))
(arguments
@@ -585,11 +585,42 @@ standard.")
(and
(zero?
(system* "./configure"
- "--disable-shared"
- "--enable-static"
- "--host=i386-unknown-linux"
- "--target=i386-unknown-linux"
- (string-append "--prefix=" out))))))))))))
+ "--disable-shared"
+ "--enable-static"
+ "--host=i386-unknown-linux"
+ "--target=i386-unknown-linux"
+ (string-append "--prefix=" out))))))))))))
+
+(define-public binutils-boot
+ (package
+ (inherit binutils-boot0)
+ (name "binutils-boot")
+ (native-inputs `(("flex" ,flex) ; cheat
+ ("glibc" ,glibc-boot)
+ ("gcc" ,gcc-boot)))
+ (arguments
+ `(#:tests? #f ; runtest: command not found
+ #:parallel-build? #f
+ #:strip-binaries? #f
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'configure
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (glibc (assoc-ref %build-inputs "glibc")))
+ (setenv "C_INCLUDE_PATH" (string-append glibc "/include"))
+ (unsetenv "LIBRARY_PATH" (string-append glibc "/lib"))
+ (setenv "CONFIG_SHELL" (string-append
+ (assoc-ref %build-inputs "bash")
+ "/bin/sh"))
+ (and (zero?
+ (system* "./configure"
+ "--disable-nls"
+ "--disable-shared"
+ "--disable-werror"
+ "--host=i386-unknown-linux"
+ "--target=i386-unknown-linux"
+ (string-append "--prefix=" out))))))))))))
(define-public gcc-core-boot
(package
@@ -606,7 +637,7 @@ standard.")
(base32
"1xvfy4pqhrd5v2cv8lzf63iqg92k09g6z9n2ah6ndd4h17k1x0an"))))
(supported-systems '("i686-linux"))
- (native-inputs `(("binutils" ,binutils-boot)
+ (native-inputs `(("binutils" ,binutils-boot0)
("tcc" ,tcc-boot)))
(outputs '("out"))
(arguments
- 102/160: gnu: gcc-core-mesboot: Rename from gcc-core-boot., (continued)
- 102/160: gnu: gcc-core-mesboot: Rename from gcc-core-boot., Jan Nieuwenhuizen, 2018/08/28
- 98/160: gnu: binutils-boot0: Inject AR, LD from bootstrap-binaries., Jan Nieuwenhuizen, 2018/08/28
- 86/160: gnu: mes-boot: Update for fopen: Return 0 upon failure., Jan Nieuwenhuizen, 2018/08/28
- 96/160: gnu: Add binutils-boot0-cheat., Jan Nieuwenhuizen, 2018/08/28
- 58/160: gnu: mes-boot: Update to 0.15., Jan Nieuwenhuizen, 2018/08/28
- 88/160: gnu: mes-boot: Update to 0.16., Jan Nieuwenhuizen, 2018/08/28
- 85/160: gnu: mes-boot: Update for linux-4.17 elf32-header fix., Jan Nieuwenhuizen, 2018/08/28
- 100/160: gnu: m4:mesboot: Rename from m4-boot., Jan Nieuwenhuizen, 2018/08/28
- 93/160: gnu: Add tcc-boot 0.9.27., Jan Nieuwenhuizen, 2018/08/28
- 87/160: gnu: %mes-seed: Update for mes 0.16., Jan Nieuwenhuizen, 2018/08/28
- 92/160: gnu: Add binutils-boot 2.20.1, built with gcc+glibc.,
Jan Nieuwenhuizen <=
- 89/160: gnu: %tinycc-seed: Update for mes 0.16., Jan Nieuwenhuizen, 2018/08/28
- 76/160: Revert "gnu: gcc-boot: Update to 3.2.", Jan Nieuwenhuizen, 2018/08/28
- 82/160: Revert "REMOVEME: %fake-bootstrap => #t.", Jan Nieuwenhuizen, 2018/08/28
- 64/160: gnu: binutils-boot: Update to 2.14., Jan Nieuwenhuizen, 2018/08/28
- 45/160: gnu: %mes-seed: Update for mes 0.13., Jan Nieuwenhuizen, 2018/08/28
- 83/160: gnu: %mescc-tools-seed: Update for linux-4.17 elf32-header fix., Jan Nieuwenhuizen, 2018/08/28
- 50/160: gnu: mes-boot: Update to 0.14., Jan Nieuwenhuizen, 2018/08/28
- 94/160: gnu: tcc-boot0: Update for mes 0.16., Jan Nieuwenhuizen, 2018/08/28
- 37/160: gnu: %mes-seed: Update for mes-0.12., Jan Nieuwenhuizen, 2018/08/28
- 81/160: REMOVEME: %fake-bootstrap => #t., Jan Nieuwenhuizen, 2018/08/28