mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 21:59:08 -05:00
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:
parent
96693d1d92
commit
eed67cbb8f
1 changed files with 5 additions and 0 deletions
|
@ -345,6 +345,8 @@ (define-public gcc-5.1
|
||||||
'("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 @@ (define-public gfortran-4.8
|
||||||
(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
|
||||||
|
|
Loading…
Reference in a new issue