nixpkgs/pkgs/development/compilers/gcc-3.3/default.nix
Eelco Dolstra eeed10ba8e * g77 -> gfortran throughout. Got rid of the separate
expressions/builders for Fortran.  Tested by building Octave with
  gfortran 4.3.

svn path=/nixpkgs/branches/stdenv-updates/; revision=14978
2009-04-09 15:24:33 +00:00

18 lines
407 B
Nix

{ stdenv, fetchurl, noSysDirs
, langC ? true, langCC ? true, langFortran ? false
}:
assert langC;
# !!! impurity: finds /usr/bin/as, /usr/bin/ranlib.
stdenv.mkDerivation {
name = "gcc-3.3.6";
builder = ./builder.sh;
src = fetchurl {
url = http://ftp.gnu.org/gnu/gcc/gcc-3.3.6/gcc-3.3.6.tar.bz2;
md5 = "6936616a967da5a0b46f1e7424a06414";
};
inherit noSysDirs langC langCC langFortran;
}