2004-09-18 19:23:18 +02:00
|
|
|
{ stdenv, fetchurl, noSysDirs
|
2004-06-29 10:25:55 +02:00
|
|
|
, langC ? true, langCC ? true, langF77 ? false
|
2004-07-01 14:17:53 +02:00
|
|
|
, profiledCompiler ? false
|
2004-06-29 10:25:55 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
assert langC;
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2005-12-06 01:12:45 +01:00
|
|
|
name = "gcc-3.4.5";
|
2004-06-29 10:25:55 +02:00
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2006-01-30 17:04:03 +01:00
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/gcc-3.4.5.tar.bz2;
|
2005-12-06 01:12:45 +01:00
|
|
|
md5 = "7c3c3c3e764dcee5eb771432062d69e1";
|
2004-06-29 10:25:55 +02:00
|
|
|
};
|
|
|
|
# !!! apply only if noSysDirs is set
|
|
|
|
patches = [./no-sys-dirs.patch];
|
2004-07-01 14:17:53 +02:00
|
|
|
inherit noSysDirs langC langCC langF77 profiledCompiler;
|
2004-06-29 10:25:55 +02:00
|
|
|
}
|