[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/11: gnu: Add gcc-boot. WIP
From: |
Jan Nieuwenhuizen |
Subject: |
09/11: gnu: Add gcc-boot. WIP |
Date: |
Sat, 25 Nov 2017 17:35:40 -0500 (EST) |
janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit a72bc0615f140417ca3afd98e54fba62623af6da
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 4169d89..a687028 100644
--- a/gnu/packages/mes.scm
+++ b/gnu/packages/mes.scm
@@ -441,6 +441,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 78cfdc3), Jan Nieuwenhuizen, 2017/11/25
- 02/11: gnu: Add stage0-boot., Jan Nieuwenhuizen, 2017/11/25
- 01/11: scripts: hash: Add --git option. WIP, Jan Nieuwenhuizen, 2017/11/25
- 07/11: use %bootstrap-guile -- still guile-2.2 in bag-with-origins :-(, Jan Nieuwenhuizen, 2017/11/25
- 03/11: gnu: Add mescc-tools-boot., Jan Nieuwenhuizen, 2017/11/25
- 09/11: gnu: Add gcc-boot. WIP,
Jan Nieuwenhuizen <=
- 06/11: gnu: Add tcc-boot., Jan Nieuwenhuizen, 2017/11/25
- 08/11: Revert "use %bootstrap-guile -- still guile-2.2 in bag-with-origins :-(", Jan Nieuwenhuizen, 2017/11/25
- 11/11: bump: mes-tools: add ferror for [m4] configure, Jan Nieuwenhuizen, 2017/11/25
- 05/11: gnu: Add nyacc-boot., Jan Nieuwenhuizen, 2017/11/25
- 10/11: bump tcc-boot: add sysinclude path for [m4] configure., Jan Nieuwenhuizen, 2017/11/25
- 04/11: gnu: Add mes-boot., Jan Nieuwenhuizen, 2017/11/25