2004-03-11 17:26:14 +00:00
|
|
|
{ stdenv, fetchurl, noSysDirs
|
2009-04-09 15:24:33 +00: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 17:23:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2005-06-17 10:30:13 +00:00
|
|
|
name = "gcc-3.3.6";
|
2009-04-19 16:00:46 +00:00
|
|
|
|
2004-03-05 10:13:23 +00:00
|
|
|
builder = ./builder.sh;
|
2009-04-19 16:00:46 +00:00
|
|
|
|
2004-03-05 10:13:23 +00:00
|
|
|
src = fetchurl {
|
2007-08-24 12:32:36 +00:00
|
|
|
url = http://ftp.gnu.org/gnu/gcc/gcc-3.3.6/gcc-3.3.6.tar.bz2;
|
2005-06-17 10:30:13 +00:00
|
|
|
md5 = "6936616a967da5a0b46f1e7424a06414";
|
2004-03-05 10:13:23 +00:00
|
|
|
};
|
2009-04-19 16:00:46 +00:00
|
|
|
|
2009-04-09 15:24:33 +00:00
|
|
|
inherit noSysDirs langC langCC langFortran;
|
2009-04-19 16:00:46 +00: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
|
|
|
}
|