[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/211: gnu: Add gcc-boot. WIP
From: |
Jan Nieuwenhuizen |
Subject: |
08/211: gnu: Add gcc-boot. WIP |
Date: |
Sat, 8 Sep 2018 11:09:15 -0400 (EDT) |
janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit bbfdc455871760950281716ad30ffdc2e6525052
Author: Jan Nieuwenhuizen <address@hidden>
Date: Thu Nov 23 19:47:47 2017 +0100
gnu: Add gcc-boot. WIP
* gnu/packages/mes.scm (gcc-boot): New variable.
---
gnu/packages/mes.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/mes.scm b/gnu/packages/mes.scm
index 18c3e22..1082577 100644
--- a/gnu/packages/mes.scm
+++ b/gnu/packages/mes.scm
@@ -446,6 +446,41 @@ standard.")
(home-page "http://www.tinycc.org/")
(license lgpl2.1+))))
+;; gcc-boot
+;; <rain1> what I did was just this [19:11]
+;; <rain1> MAKEINFO=missing CC=tcc $HOME/gcc-4.7.4/configure
+;; --prefix=$HOME/gcc-out --enable-languages=c --disable-multilib
+;; <rain1> with tcc built and installed in $PATH
+
+(define-public gcc-boot
+ (package
+ ;; (inherit gcc-4.7)
+ (source (package-source gcc-4.7))
+ (name "gcc-boot")
+ (version "4.7.4")
+ (synopsis (package-synopsis gcc-4.7))
+ (supported-systems '("i686-linux"))
+ (build-system gnu-build-system)
+ (native-inputs `(("tcc" ,tcc-boot)))
+ (inputs `(;;("gmp" ,gmp)
+ ;;("mpfr" ,mpfr)
+ ;;("mpc" ,mpc)
+ ;;("libelf" ,libelf)
+ ;;("zlib" ,zlib)
+ ))
+ (arguments
+ `(;;#:out-of-source? #t
+ #:configure-flags `("--enable-languages=c"
+ "--disable-multilib"
+ ;;,(string-append "CC='mes-tcc " (assoc-ref
%build-inputs "tcc") "/lib/crt1.mlibc-o'")
+ "CC=mes-tcc"
+ "CFLAGS=-static"
+ "XAR='mes-tcc -ar"
+ "MAKEINFO=missing")))
+ (properties `((gcc-libc . ,(assoc-ref inputs "libc"))))
+ (home-page (package-home-page gcc-4.7))
+ (description (package-description gcc-4.7))
+ (license (package-license gcc-4.7))))
;;;
(define-public nyacc
- 19/211: gnu: mes-boot: Use bootstrap Guile and simplify., (continued)
- 19/211: gnu: mes-boot: Use bootstrap Guile and simplify., Jan Nieuwenhuizen, 2018/09/08
- 10/211: bump: mes-tools: add ferror for [m4] configure, Jan Nieuwenhuizen, 2018/09/08
- 09/211: bump tcc-boot: add sysinclude path for [m4] configure., Jan Nieuwenhuizen, 2018/09/08
- 01/211: gnu: Add stage0-boot., Jan Nieuwenhuizen, 2018/09/08
- 72/211: gnu: gcc-boot: Update to 3.0., Jan Nieuwenhuizen, 2018/09/08
- 109/211: REMOVEME: %fake-bootstrap => #t., Jan Nieuwenhuizen, 2018/09/08
- 29/211: gnu: Update tcc-boot: mescc has no unsigned arithmetic., Jan Nieuwenhuizen, 2018/09/08
- 68/211: Revert "gnu: binutils-boot: Update to 2.25.", Jan Nieuwenhuizen, 2018/09/08
- 12/211: bump mes-boot: mlibc: GNU Gcc support: setjmp, longjmp., Jan Nieuwenhuizen, 2018/09/08
- 16/211: bump: mes-boot: fixup for 80-setjmp test, Jan Nieuwenhuizen, 2018/09/08
- 08/211: gnu: Add gcc-boot. WIP,
Jan Nieuwenhuizen <=
- 78/211: gnu: Add glibc-boot 2.0.1., Jan Nieuwenhuizen, 2018/09/11