diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-04-22 17:44:45 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-04-22 17:45:09 +0200 |
commit | 571aa6cd81ed0c823586fc1b057d68a5d8dab9c7 (patch) | |
tree | 734448c619dad344bd8b0398a1f43016e5ab67b1 | |
parent | 0815f8f9a217ddc2bbe1cf74d10d54aafa2d9063 (diff) | |
download | guix-571aa6cd81ed0c823586fc1b057d68a5d8dab9c7.tar guix-571aa6cd81ed0c823586fc1b057d68a5d8dab9c7.tar.gz |
gnu: Add GCC 4.9.0.
* gnu/packages/gcc.scm (gcc-4.9): New variable.
* gnu/packages/base.scm (gcc-toolchain-4.9): New variable.
-rw-r--r-- | gnu/packages/base.scm | 3 | ||||
-rw-r--r-- | gnu/packages/gcc.scm | 11 |
2 files changed, 14 insertions, 0 deletions
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index e6a2242cf0..09cbe8915b 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -1175,4 +1175,7 @@ and binaries, plus debugging symbols in the 'debug' output), and Binutils.") (define-public gcc-toolchain-4.8 (gcc-toolchain gcc-final)) +(define-public gcc-toolchain-4.9 + (gcc-toolchain gcc-4.9)) + ;;; base.scm ends here diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index cb7817c084..a8d63fc98a 100644 --- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -227,6 +227,17 @@ Go. It also includes runtime support libraries for these languages.") (base32 "1j6dwgby4g3p3lz7zkss32ghr45zpdidrg8xvazvn91lqxv25p09")))))) +(define-public gcc-4.9 + (package (inherit gcc-4.7) + (version "4.9.0") + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnu/gcc/gcc-" + version "/gcc-" version ".tar.bz2")) + (sha256 + (base32 + "0mqjxpw2klskls00lwx1k24pnyzm3whqxg3hk74c3sddgfllgc5r")))))) + (define (custom-gcc gcc name languages) "Return a custom version of GCC that supports LANGUAGES." (package (inherit gcc) |