2004-03-11 18:26:14 +01:00
|
|
|
{ stdenv, fetchurl, noSysDirs
|
2009-04-09 17:24:33 +02:00
|
|
|
, langC ? true, langCC ? true, langFortran ? false
|
2004-03-05 11:13:23 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
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";
|
2009-04-19 18:00:46 +02:00
|
|
|
|
2004-03-05 11:13:23 +01:00
|
|
|
builder = ./builder.sh;
|
2009-04-19 18:00:46 +02:00
|
|
|
|
2004-03-05 11:13:23 +01:00
|
|
|
src = fetchurl {
|
2007-08-24 14:32:36 +02:00
|
|
|
url = http://ftp.gnu.org/gnu/gcc/gcc-3.3.6/gcc-3.3.6.tar.bz2;
|
2005-06-17 12:30:13 +02:00
|
|
|
md5 = "6936616a967da5a0b46f1e7424a06414";
|
2004-03-05 11:13:23 +01:00
|
|
|
};
|
2009-04-19 18:00:46 +02:00
|
|
|
|
2009-04-09 17:24:33 +02:00
|
|
|
inherit noSysDirs langC langCC langFortran;
|
2009-04-19 18:00:46 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://gcc.gnu.org/";
|
|
|
|
license = "GPL/LGPL";
|
|
|
|
description = "GNU Compiler Collection, 3.3.x";
|
|
|
|
};
|
2004-03-05 11:13:23 +01:00
|
|
|
}
|