2006-03-01 20:09:53 +01:00
|
|
|
{ stdenv, fetchurl, noSysDirs
|
|
|
|
, langC ? true, langCC ? true, langF77 ? false
|
|
|
|
, profiledCompiler ? false
|
|
|
|
}:
|
|
|
|
|
|
|
|
assert langC;
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2006-06-21 17:54:18 +02:00
|
|
|
name = "gcc-4.1.1";
|
2006-03-01 20:09:53 +01:00
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2006-06-21 17:54:18 +02:00
|
|
|
url = ftp://ftp.nluug.nl/pub/gnu/gcc/gcc-4.1.1/gcc-4.1.1.tar.bz2;
|
|
|
|
md5 = "ad9f97a4d04982ccf4fd67cb464879f3";
|
2006-03-01 20:09:53 +01:00
|
|
|
};
|
2006-06-21 17:54:18 +02:00
|
|
|
patches =
|
|
|
|
[./pass-cxxcpp.patch]
|
|
|
|
++ (if noSysDirs then [./no-sys-dirs.patch] else []);
|
2006-03-01 20:09:53 +01:00
|
|
|
inherit noSysDirs langC langCC langF77 profiledCompiler;
|
|
|
|
}
|