2004-09-18 18:23:18 +01:00
|
|
|
{ stdenv, fetchurl, noSysDirs
|
2004-08-03 11:36:29 +01:00
|
|
|
, langC ? true, langCC ? true, langF77 ? false
|
|
|
|
}:
|
|
|
|
|
|
|
|
assert langC;
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "gcc-2.95.3";
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2007-08-27 14:42:00 +01:00
|
|
|
url = mirror://gnu/gcc/gcc-2.95.3.tar.gz;
|
2004-08-03 11:36:29 +01:00
|
|
|
md5 = "f3ad4f32c2296fad758ed051b5ac8e28";
|
|
|
|
};
|
|
|
|
# !!! apply only if noSysDirs is set
|
|
|
|
patches = [./no-sys-dirs.patch];
|
|
|
|
inherit noSysDirs langC langCC langF77;
|
|
|
|
}
|