[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
158/211: gnu: Add make-mesboot0 3.80
From: |
Jan Nieuwenhuizen |
Subject: |
158/211: gnu: Add make-mesboot0 3.80 |
Date: |
Sat, 8 Sep 2018 11:09:49 -0400 (EDT) |
janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit d4e1077ea945a215808a06276b29f79073f43dbe
Author: Jan Nieuwenhuizen <address@hidden>
Date: Tue Aug 28 10:35:32 2018 +0200
gnu: Add make-mesboot0 3.80
* gnu/packages/commencement.scm (make-mesboot0): Rename from make-mesboot.
Update users.
(make-mesboot): Build with gcc-mesboot0, binutils-mesboot0, glibc-mesboot.
(gcc-mesboot): Use it.
---
gnu/packages/commencement.scm | 52 ++++++++++++++++++++++++++++++++++++-------
1 file changed, 44 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 5c4dc9c..15b96da 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -546,11 +546,11 @@
(copy-file "libtcc1.a" (string-append out
"/lib/tcc/libtcc1.a"))))))))))))
-(define-public make-mesboot
+(define-public make-mesboot0
(package-with-bootstrap-guile
(package
(inherit gnu-make)
- (name "make-mesboot")
+ (name "make-mesboot0")
(version "3.80")
(source (origin
(method url-fetch)
@@ -627,7 +627,7 @@
("bash" ,%bootstrap-coreutils&co)
("coreutils" ,%bootstrap-coreutils&co)
- ("make" ,make-mesboot)))
+ ("make" ,make-mesboot0)))
(arguments
`(#:implicit-inputs? #f
#:guile ,%bootstrap-guile
@@ -676,7 +676,7 @@
("coreutils" ,%bootstrap-coreutils&co)
("diffutils" ,diffutils-mesboot)
- ("make" ,make-mesboot)))
+ ("make" ,make-mesboot0)))
(supported-systems '("i686-linux"))
(arguments
`(#:implicit-inputs? #f
@@ -753,7 +753,7 @@
("coreutils" ,%bootstrap-coreutils&co)
("diffutils" ,diffutils-mesboot)
- ("make" ,make-mesboot)))
+ ("make" ,make-mesboot0)))
(outputs '("out"))
(arguments
`(#:implicit-inputs? #f
@@ -876,7 +876,7 @@ ac_cv_c_float_format='IEEE (little-endian)'
("coreutils" ,%bootstrap-coreutils&co)
("diffutils" ,diffutils-mesboot)
("kernel-headers" ,%bootstrap-linux-libre-headers)
- ("make" ,make-mesboot)))
+ ("make" ,make-mesboot0)))
(outputs '("out"))
(arguments
`(#:implicit-inputs? #f
@@ -967,7 +967,7 @@ ac_cv_c_float_format='IEEE (little-endian)'
("coreutils" ,%bootstrap-coreutils&co)
("diffutils" ,diffutils-mesboot)
("kernel-headers" ,%bootstrap-linux-libre-headers)
- ("make" ,make-mesboot)))
+ ("make" ,make-mesboot0)))
(outputs '("out"))
(arguments
`(#:implicit-inputs? #f
@@ -1063,7 +1063,7 @@ ac_cv_c_float_format='IEEE (little-endian)'
("coreutils" ,%bootstrap-coreutils&co)
("diffutils" ,diffutils-mesboot)
("kernel-headers" ,%bootstrap-linux-libre-headers)
- ("make" ,make-mesboot)))
+ ("make" ,make-mesboot0)))
(arguments
`(#:implicit-inputs? #f
#:guile ,%bootstrap-guile
@@ -1127,6 +1127,42 @@ ac_cv_c_float_format='IEEE (little-endian)'
"--with-sysroot=/"
(string-append "--prefix=" out))))))))))))
+(define-public make-mesboot
+ (package-with-bootstrap-guile
+ (package
+ (inherit make-mesboot0)
+ (name "make-mesboot")
+ (supported-systems '("i686-linux"))
+ (inputs '())
+ (propagated-inputs '())
+ (native-inputs `(("binutils" ,binutils-mesboot0)
+ ("libc" ,glibc-mesboot)
+ ("gcc" ,gcc-mesboot0)
+ ("make" ,make-mesboot0)
+
+ ("bash" ,%bootstrap-coreutils&co)
+ ("coreutils" ,%bootstrap-coreutils&co)
+ ("kernel-headers" ,%bootstrap-linux-libre-headers)))
+ (arguments
+ `(#:implicit-inputs? #f
+ #:parallel-build? #f
+ #:tests? #f ; check depends on perl
+ #:guile ,%bootstrap-guile
+ #:strip-binaries? #f ; binutil's strip b0rkes MesCC/M1/hex2 binaries
+ ;;#:configure-flags '("LIBS=-lc -lnss_files -lnss_dns -lresolv")
+ #:phases
+ (modify-phases %standard-phases
+ ;; https://gcc.gnu.org/ml/gcc/1998-12/msg00083.html 2.22
+ (add-before 'configure 'setenv
+ (lambda _
+ (setenv "LIBS" "-lc -lnss_files -lnss_dns -lresolv")))
+ (delete 'patch-generated-file-shebangs) ; no perl
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin")))
+ (install-file "make" bin))))))))))
+
(define gmp-boot
(package
(inherit gmp)
- 148/211: gnu: mes-boot: Update to 0.17.1., (continued)
- 148/211: gnu: mes-boot: Update to 0.17.1., Jan Nieuwenhuizen, 2018/09/08
- 125/211: gnu: glibc-mesboot: Revise dependencies., Jan Nieuwenhuizen, 2018/09/08
- 173/211: gnu: Add mesboot-headers., Jan Nieuwenhuizen, 2018/09/08
- 182/211: gnu: binutils-mesboot0: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 143/211: gnu: Add %bootstrap-linux-libre-headers., Jan Nieuwenhuizen, 2018/09/08
- 138/211: gnu: Add %make-static, %make-static-stripped, %make-bootstrap-tarball., Jan Nieuwenhuizen, 2018/09/08
- 90/211: gnu: glibc-boot: Install all headers. WIP plus more, Jan Nieuwenhuizen, 2018/09/08
- 154/211: Revert "gnu: Add %bootstrap-diffutils.", Jan Nieuwenhuizen, 2018/09/08
- 146/211: gnu: %mes-seed: Update for mes 0.17.1., Jan Nieuwenhuizen, 2018/09/08
- 134/211: gnu: mescc-tools-boot: Use gnu-build-system., Jan Nieuwenhuizen, 2018/09/08
- 158/211: gnu: Add make-mesboot0 3.80,
Jan Nieuwenhuizen <=
- 115/211: gnu: glibc-mesboot: Package with bootstrap-guile., Jan Nieuwenhuizen, 2018/09/08
- 147/211: gnu: %tinycc-seed: Update for mes 0.17.1., Jan Nieuwenhuizen, 2018/09/08
- 127/211: gnu: binutils-mesboot: Revise dependencies., Jan Nieuwenhuizen, 2018/09/08
- 105/211: gnu: binutils-mesboot: Rename from binutils-boot., Jan Nieuwenhuizen, 2018/09/08
- 116/211: gnu: gcc-mesboot0: Package with bootstrap-guile., Jan Nieuwenhuizen, 2018/09/08
- 136/211: gnu: tcc-boot0: Use gnu-build-system., Jan Nieuwenhuizen, 2018/09/08
- 108/211: gnu: Add gcc-mesboot 4.7.4. WIP, Jan Nieuwenhuizen, 2018/09/08
- 111/211: gnu: m4-mesboot: Package with boostrap-guile., Jan Nieuwenhuizen, 2018/09/08
- 139/211: gnu: Add %bootstrap-make., Jan Nieuwenhuizen, 2018/09/08
- 114/211: gnu: gcc-core-mesboot: Package with bootstrap-guile., Jan Nieuwenhuizen, 2018/09/08