2005-11-28 12:20:59 +01:00
|
|
|
{ stdenv, fetchurl, noSysDirs
|
|
|
|
, langC ? true, langCC ? true, langF77 ? false
|
|
|
|
, profiledCompiler ? false
|
|
|
|
, binutilsArm
|
|
|
|
}:
|
|
|
|
|
|
|
|
assert langC;
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "gcc-3.4.4-arm";
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2006-01-30 17:04:03 +01:00
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/gcc-3.4.4.tar.bz2;
|
2005-11-28 12:20:59 +01:00
|
|
|
md5 = "b594ff4ea4fbef4ba9220887de713dfe";
|
|
|
|
};
|
|
|
|
# !!! apply only if noSysDirs is set
|
|
|
|
patches = [./no-sys-dirs.patch];
|
|
|
|
inherit noSysDirs langC langCC langF77 profiledCompiler;
|
|
|
|
buildInputs = [binutilsArm];
|
|
|
|
platform = "arm-linux";
|
|
|
|
}
|