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
1 changed files with 5 additions and 0 deletions

View File

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