gnu: Add default GCC and default gfortran.

* gnu/packages/gcc.scm (gcc): New variable.
* gnu/packages/gcc.scm (gfortran): New variable.
This commit is contained in:
Ricardo Wurmus 2015-06-25 17:52:10 +02:00
parent 96693d1d92
commit eed67cbb8f

View file

@ -345,6 +345,8 @@ (define-public gcc-5.1
'("gcc-arm-link-spec-fix.patch"
"gcc-5.0-libvtv-runpath.patch")))))))
(define-public gcc gcc-4.9)
(define-public (make-libstdc++ gcc)
"Return a libstdc++ package based on GCC. The primary use case is when
using compilers other than GCC."
@ -397,6 +399,9 @@ (define-public gfortran-4.8
(define-public gfortran-4.9
(custom-gcc gcc-4.9 "gfortran" '("fortran")))
(define-public gfortran
(custom-gcc gcc "gfortran" '("fortran")))
(define-public gccgo-4.8
(custom-gcc gcc-4.8 "gccgo" '("go")
;; Suppress the separate "lib" output, because otherwise the