From eed67cbb8ff6577a12f64cc7984996a23a02cd2a Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 25 Jun 2015 17:52:10 +0200 Subject: [PATCH] gnu: Add default GCC and default gfortran. * gnu/packages/gcc.scm (gcc): New variable. * gnu/packages/gcc.scm (gfortran): New variable. --- gnu/packages/gcc.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index 389610d9c1..4fc2e6355e 100644 --- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -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