~ruther/guix-local

eed67cbb8ff6577a12f64cc7984996a23a02cd2a — Ricardo Wurmus 10 years ago 96693d1
gnu: Add default GCC and default gfortran.

* gnu/packages/gcc.scm (gcc): New variable.
* gnu/packages/gcc.scm (gfortran): New variable.
1 files changed, 5 insertions(+), 0 deletions(-)

M gnu/packages/gcc.scm
M gnu/packages/gcc.scm => gnu/packages/gcc.scm +5 -0
@@ 345,6 345,8 @@ Go.  It also includes runtime support libraries for these languages.")
                            '("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 @@ using compilers other than GCC."
(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