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 {
|
2004-07-05 13:00:19 +01:00
|
|
|
name = "gcc-3.4.1";
|
2004-06-29 09:25:55 +01:00
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2004-07-05 13:00:19 +01:00
|
|
|
url = ftp://ftp.nluug.nl/mirror/languages/gcc/releases/gcc-3.4.1/gcc-3.4.1.tar.bz2;
|
|
|
|
md5 = "31b459062499f9f68d451db9cbf3205c";
|
2004-06-29 09:25:55 +01:00
|
|
|
};
|
|
|
|
# !!! 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
|
|
|
}
|