[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
158/160: gnu: Add make-mesboot0 3.80
From: |
Jan Nieuwenhuizen |
Subject: |
158/160: gnu: Add make-mesboot0 3.80 |
Date: |
Tue, 28 Aug 2018 15:56:44 -0400 (EDT) |
janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit 45246116e7fbaa44c2c14d3ce6d87cf2ca8eb98e
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 79b606d..fa8dba2 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)
- branch wip-bootstrap created (now 12433be), Jan Nieuwenhuizen, 2018/08/28
- 62/160: gnu: Add binutils-boot 2.5.1., Jan Nieuwenhuizen, 2018/08/28
- 159/160: gcc-mesboot: use package-full-name "-" :-), Jan Nieuwenhuizen, 2018/08/28
- 160/160: gnu: Add mpc-boot 1.0.3., Jan Nieuwenhuizen, 2018/08/28
- 142/160: gnu: Add %linux-libre-headers-stripped, %linux-libre-headers-bootstrap-tarball., Jan Nieuwenhuizen, 2018/08/28
- 145/160: bootstrap: Integrate mes bootstrap for i686-linux., Jan Nieuwenhuizen, 2018/08/28
- 158/160: gnu: Add make-mesboot0 3.80,
Jan Nieuwenhuizen <=
- 151/160: gnu: Add diffutils-mesboot 2.7., Jan Nieuwenhuizen, 2018/08/28
- 138/160: gnu: Add %make-static, %make-static-stripped, %make-bootstrap-tarball., Jan Nieuwenhuizen, 2018/08/28
- 143/160: gnu: Add %bootstrap-linux-libre-headers., Jan Nieuwenhuizen, 2018/08/28
- 150/160: gnu: Add make-mesboot 3.79., Jan Nieuwenhuizen, 2018/08/28
- 140/160: gnu: Add %diffutils-static, %diffutils-static-stripped, %diffutils-bootstrap-tarball., Jan Nieuwenhuizen, 2018/08/28
- 154/160: Revert "gnu: Add %bootstrap-diffutils.", Jan Nieuwenhuizen, 2018/08/28
- 137/160: gnu: tcc-boot: Use gnu-build-system., Jan Nieuwenhuizen, 2018/08/28
- 148/160: gnu: mes-boot: Update to 0.18. WIP, Jan Nieuwenhuizen, 2018/08/28
- 149/160: gnu: tcc-boot: Update for mes 0.18. WIP, Jan Nieuwenhuizen, 2018/08/28
- 127/160: gnu: binutils-mesboot: Revise dependencies., Jan Nieuwenhuizen, 2018/08/28