[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/163: gnu: Add gcc-boot. WIP
From: |
Jan Nieuwenhuizen |
Subject: |
08/163: gnu: Add gcc-boot. WIP |
Date: |
Thu, 30 Aug 2018 01:03:13 -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
- branch wip-bootstrap created (now 622c80b), Jan Nieuwenhuizen, 2018/08/30
- 01/163: gnu: Add stage0-boot., Jan Nieuwenhuizen, 2018/08/30
- 02/163: gnu: Add mescc-tools-boot., Jan Nieuwenhuizen, 2018/08/30
- 03/163: gnu: Add mes-boot., Jan Nieuwenhuizen, 2018/08/30
- 09/163: bump tcc-boot: add sysinclude path for [m4] configure., Jan Nieuwenhuizen, 2018/08/30
- 08/163: gnu: Add gcc-boot. WIP,
Jan Nieuwenhuizen <=
- 05/163: gnu: Add tcc-boot., Jan Nieuwenhuizen, 2018/08/30
- 13/163: bump mes-seed: mlibc: GNU Gcc support: setjmp, longjmp., Jan Nieuwenhuizen, 2018/08/30
- 06/163: use %bootstrap-guile -- still guile-2.2 in bag-with-origins :-(, Jan Nieuwenhuizen, 2018/08/30
- 07/163: Revert "use %bootstrap-guile -- still guile-2.2 in bag-with-origins :-(", Jan Nieuwenhuizen, 2018/08/30
- 04/163: gnu: Add nyacc-boot., Jan Nieuwenhuizen, 2018/08/30
- 10/163: bump: mes-tools: add ferror for [m4] configure, Jan Nieuwenhuizen, 2018/08/30
- 21/163: gnu: Update mes-boot: Mescc-tools support: char foo[BAR] = {'a', 'b', 'c'}., Jan Nieuwenhuizen, 2018/08/30
- 40/163: gnu: tinycc-boot: Update for mes-0.12., Jan Nieuwenhuizen, 2018/08/30
- 14/163: bump tcc-boot: mlibc: GNU Gcc support: setjmp, longjmp., Jan Nieuwenhuizen, 2018/08/30
- 18/163: gnu: mescc-tools-boot: Use bootstrap Guile and simplify., Jan Nieuwenhuizen, 2018/08/30