[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
92/210: gnu: Add binutils-boot 2.20.1, built with gcc+glibc.
From: |
Jan Nieuwenhuizen |
Subject: |
92/210: gnu: Add binutils-boot 2.20.1, built with gcc+glibc. |
Date: |
Sat, 8 Sep 2018 10:36:14 -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
- 49/210: gnu: %mes-seed: Update for mes 0.14., (continued)
- 49/210: gnu: %mes-seed: Update for mes 0.14., Jan Nieuwenhuizen, 2018/09/08
- 45/210: gnu: %mes-seed: Update for mes 0.13., Jan Nieuwenhuizen, 2018/09/08
- 48/210: gnu: tcc-boot: Build with mes-boot., Jan Nieuwenhuizen, 2018/09/08
- 42/210: gnu: mescc-tools-boot: Remove stage0 dependency., Jan Nieuwenhuizen, 2018/09/08
- 43/210: gnu: stage0-boot: Update to new gitlab url scheme., Jan Nieuwenhuizen, 2018/09/08
- 36/210: gnu: nyacc-boot: Update to 0.80.42., Jan Nieuwenhuizen, 2018/09/08
- 33/210: gnu: Update mes-boot: Add qsort., Jan Nieuwenhuizen, 2018/09/08
- 27/210: gnu: Update tcc-boot: avoid mescc bug struct foo bar = *baz ()., Jan Nieuwenhuizen, 2018/09/08
- 38/210: gnu: mes-boot: Update to 0.12., Jan Nieuwenhuizen, 2018/09/08
- 90/210: gnu: glibc-boot: Install all headers. WIP plus more, Jan Nieuwenhuizen, 2018/09/08
- 92/210: gnu: Add binutils-boot 2.20.1, built with gcc+glibc.,
Jan Nieuwenhuizen <=
- 22/210: gnu: Update mescc-tools-boot: bootstrap from .M1 sources: remove MORTAL SIN., Jan Nieuwenhuizen, 2018/09/08
- 21/210: gnu: Update mes-boot: Mescc-tools support: char foo[BAR] = {'a', 'b', 'c'}., Jan Nieuwenhuizen, 2018/09/08
- 14/210: bump tcc-boot: mlibc: GNU Gcc support: setjmp, longjmp., Jan Nieuwenhuizen, 2018/09/08
- 13/210: bump mes-seed: mlibc: GNU Gcc support: setjmp, longjmp., Jan Nieuwenhuizen, 2018/09/08
- 130/210: gnu: %tinycc-seed: Update for mes 0.17., Jan Nieuwenhuizen, 2018/09/08
- 132/210: gnu: tcc-boot0: Update for mes 0.17., Jan Nieuwenhuizen, 2018/09/08
- 112/210: gnu: tcc-boot: Package with bootstrap-guile., Jan Nieuwenhuizen, 2018/09/08
- 111/210: gnu: m4-mesboot: Package with boostrap-guile., Jan Nieuwenhuizen, 2018/09/08
- 108/210: gnu: Add gcc-mesboot 4.7.4. WIP, Jan Nieuwenhuizen, 2018/09/08
- 122/210: gnu: tcc-boot: Revise dependencies., Jan Nieuwenhuizen, 2018/09/08