nixpkgs/pkgs/development/compilers/gcc-static-4.1/default.nix
Armijn Hemel 1b17f45ef5 add a statically linked gcc-4.1
svn path=/nixpkgs/trunk/; revision=6056
2006-08-05 13:50:42 +00:00

19 lines
425 B
Nix

{ stdenv, fetchurl
, langC ? true, langCC ? true, langF77 ? false
, profiledCompiler ? false
}:
assert langC;
stdenv.mkDerivation {
name = "gcc-4.1.1";
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.nluug.nl/pub/gnu/gcc/gcc-4.1.1/gcc-4.1.1.tar.bz2;
md5 = "ad9f97a4d04982ccf4fd67cb464879f3";
};
patches = [./no-sys-dirs.patch];
inherit langC langCC langF77 profiledCompiler;
noSysDirs = 1;
}