2004-03-11 17:26:14 +00:00
|
|
|
{ stdenv, fetchurl, noSysDirs
|
2009-04-09 16:24:33 +01:00
|
|
|
, langC ? true, langCC ? true, langFortran ? false
|
2004-03-05 10:13:23 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
assert langC;
|
|
|
|
|
2006-10-30 11:58:24 +00:00
|
|
|
# !!! impurity: finds /usr/bin/as, /usr/bin/ranlib.
|
|
|
|
|
2004-03-29 18:23:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2005-06-17 11:30:13 +01:00
|
|
|
name = "gcc-3.3.6";
|
2009-04-19 17:00:46 +01:00
|
|
|
|
2004-03-05 10:13:23 +00:00
|
|
|
builder = ./builder.sh;
|
2009-04-19 17:00:46 +01:00
|
|
|
|
2004-03-05 10:13:23 +00:00
|
|
|
src = fetchurl {
|
2007-08-24 13:32:36 +01:00
|
|
|
url = http://ftp.gnu.org/gnu/gcc/gcc-3.3.6/gcc-3.3.6.tar.bz2;
|
2005-06-17 11:30:13 +01:00
|
|
|
md5 = "6936616a967da5a0b46f1e7424a06414";
|
2004-03-05 10:13:23 +00:00
|
|
|
};
|
2009-04-19 17:00:46 +01:00
|
|
|
|
2009-04-09 16:24:33 +01:00
|
|
|
inherit noSysDirs langC langCC langFortran;
|
2009-04-19 17:00:46 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://gcc.gnu.org/";
|
|
|
|
license = "GPL/LGPL";
|
|
|
|
description = "GNU Compiler Collection, 3.3.x";
|
|
|
|
};
|
2004-03-05 10:13:23 +00:00
|
|
|
}
|