2004-09-18 18:23:18 +01:00
|
|
|
{ stdenv, fetchurl, noSysDirs
|
2004-06-29 09:25:55 +01:00
|
|
|
, 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 {
|
2006-06-23 12:09:07 +01:00
|
|
|
name = "gcc-3.4.6";
|
2004-06-29 09:25:55 +01:00
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2006-06-23 12:09:07 +01:00
|
|
|
url = ftp://ftp.nluug.nl/pub/gnu/gcc/gcc-3.4.6/gcc-3.4.6.tar.bz2;
|
|
|
|
md5 = "4a21ac777d4b5617283ce488b808da7b";
|
2004-06-29 09:25:55 +01:00
|
|
|
};
|
|
|
|
# !!! apply only if noSysDirs is set
|
|
|
|
patches = [./no-sys-dirs.patch];
|
2004-07-01 13:17:53 +01:00
|
|
|
inherit noSysDirs langC langCC langF77 profiledCompiler;
|
2004-06-29 09:25:55 +01:00
|
|
|
}
|