nixpkgs/pkgs/development/compilers/gcc-4.0/default.nix
Eelco Dolstra 4d7f947bcb * GCC 4.0.3.
svn path=/nixpkgs/trunk/; revision=5676
2006-07-11 07:55:38 +00:00

25 lines
601 B
Nix

{ stdenv, fetchurl, noSysDirs
, langC ? true, langCC ? true, langF77 ? false
, profiledCompiler ? false
}:
assert langC;
stdenv.mkDerivation {
name = "gcc-4.0.3";
builder = ./builder.sh;
src = fetchurl {
url = http://ftp.gnu.org/pub/gnu/gcc/gcc-4.0.3/gcc-4.0.3.tar.bz2;
md5 = "6ff1af12c53cbb3f79b27f2d6a9a3d50";
};
# !!! apply only if noSysDirs is set
patches = [./no-sys-dirs.patch];
inherit noSysDirs langC langCC langF77 profiledCompiler;
meta = {
homepage = "http://gcc.gnu.org/";
license = "GPL/LGPL";
description = "GNU Compiler Collection, 4.0.x";
};
}