From ea7a5592901bce33679cd976c25acb5d53a3c462 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Sat, 2 Apr 2011 15:21:36 +0000 Subject: [PATCH] Add support for the new Go frontend to GCC 4.6.0. This isn't as useful as it could be, since gcc-wrapper doesn't know about the gccgo binary so there is no gccgo wrapper script. Since changing gcc-wrapper would lead to a nearly full rebuild, I thing the change to gcc-wrapper should go into stdenv-updates. svn path=/nixpkgs/trunk/; revision=26668 --- .../development/compilers/gcc-4.4/update-gcc.sh | 6 ++++-- pkgs/development/compilers/gcc-4.6/builder.sh | 1 + pkgs/development/compilers/gcc-4.6/default.nix | 7 +++++-- pkgs/development/compilers/gcc-4.6/sources.nix | 17 +++++++++++------ pkgs/top-level/all-packages.nix | 9 +++++++++ 5 files changed, 30 insertions(+), 10 deletions(-) diff --git a/pkgs/development/compilers/gcc-4.4/update-gcc.sh b/pkgs/development/compilers/gcc-4.4/update-gcc.sh index c7afee268e22..6b0bbb993309 100755 --- a/pkgs/development/compilers/gcc-4.4/update-gcc.sh +++ b/pkgs/development/compilers/gcc-4.4/update-gcc.sh @@ -21,16 +21,18 @@ options["g++"]="langCC" options["fortran"]="langFortran" options["java"]="langJava" options["ada"]="langAda" +options["go"]="langGo" cat > "$out"<