diff --git a/pkgs/development/compilers/gcc-3.4/builder.sh b/pkgs/development/compilers/gcc-3.4/builder.sh index a49eb03cbd1..2d425eabc73 100644 --- a/pkgs/development/compilers/gcc-3.4/builder.sh +++ b/pkgs/development/compilers/gcc-3.4/builder.sh @@ -45,6 +45,7 @@ else fi +preConfigure=preConfigure preConfigure() { # Determine the frontends to build. @@ -64,7 +65,13 @@ preConfigure() { configureFlags="--enable-languages=$langs" } -preConfigure=preConfigure + +postInstall=postInstall +postInstall() { + # Remove precompiled headers for now. They are very big and + # probably not very useful yet. + find $out/include -name "*.gch" -exec rm -rf {} \; -prune +} if test -z "$profiledCompiler"; then diff --git a/pkgs/system/all-packages-generic.nix b/pkgs/system/all-packages-generic.nix index 39c23209da6..d72bed1d1e5 100644 --- a/pkgs/system/all-packages-generic.nix +++ b/pkgs/system/all-packages-generic.nix @@ -206,7 +206,7 @@ rec { inherit fetchurl stdenv noSysDirs; }; - gcc340 = (import ../build-support/gcc-wrapper) { + gcc34 = (import ../build-support/gcc-wrapper) { nativeTools = false; nativeGlibc = false; gcc = (import ../development/compilers/gcc-3.4) { diff --git a/pkgs/system/populate-cache.nix b/pkgs/system/populate-cache.nix index 91d1bd07271..1af98e8e122 100644 --- a/pkgs/system/populate-cache.nix +++ b/pkgs/system/populate-cache.nix @@ -29,6 +29,7 @@ let { bisonnew flexnew gcc + gcc34 aterm strategoxt ghc