2004-06-29 09:25:55 +01:00
|
|
|
{ stdenv, fetchurl, patch, noSysDirs
|
|
|
|
, langC ? true, langCC ? true, langF77 ? false
|
2004-07-01 13:17:53 +01:00
|
|
|
, profiledCompiler ? false
|
2004-06-29 09:25:55 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
assert langC;
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "gcc-3.4.0";
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
|
|
|
url = ftp://ftp.nluug.nl/mirror/languages/gcc/releases/gcc-3.4.0/gcc-3.4.0.tar.bz2;
|
|
|
|
md5 = "85c6fc83d51be0fbb4f8205accbaff59";
|
|
|
|
};
|
|
|
|
# !!! apply only if noSysDirs is set
|
|
|
|
patches = [./no-sys-dirs.patch];
|
|
|
|
buildInputs = [patch];
|
2004-07-01 13:17:53 +01:00
|
|
|
inherit noSysDirs langC langCC langF77 profiledCompiler;
|
2004-06-29 09:25:55 +01:00
|
|
|
}
|