2004-03-11 18:26:14 +01:00
|
|
|
{ stdenv, fetchurl, noSysDirs
|
2004-03-05 11:13:23 +01:00
|
|
|
, langC ? true, langCC ? true, langF77 ? false
|
|
|
|
}:
|
|
|
|
|
|
|
|
assert langC;
|
|
|
|
|
2006-10-30 12:58:24 +01:00
|
|
|
# !!! impurity: finds /usr/bin/as, /usr/bin/ranlib.
|
|
|
|
|
2004-03-29 19:23:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2005-06-17 12:30:13 +02:00
|
|
|
name = "gcc-3.3.6";
|
2004-03-05 11:13:23 +01:00
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2006-01-30 17:04:03 +01:00
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/gcc-3.3.6.tar.bz2;
|
2005-06-17 12:30:13 +02:00
|
|
|
md5 = "6936616a967da5a0b46f1e7424a06414";
|
2004-03-05 11:13:23 +01:00
|
|
|
};
|
2004-03-29 19:23:01 +02:00
|
|
|
inherit noSysDirs langC langCC langF77;
|
2004-03-05 11:13:23 +01:00
|
|
|
}
|