add a statically compiled version of gcc...

Use with a bit of care though, because it will need an extra flag to be able to find the right version of cc1, etc.

svn path=/nixpkgs/trunk/; revision=1374
This commit is contained in:
Armijn Hemel 2004-09-02 13:54:23 +00:00
parent 261451c3ec
commit 88ab6c1edd
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,5 @@
. $stdenv/setup
tar zxvf $src
mkdir $out
cp -a gcc-3.3.4/* $out

View File

@ -0,0 +1,10 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "gcc-static-3.3.4";
builder = ./builder.sh;
src = fetchurl {
url = http://losser.st-lab.cs.uu.nl/~armijn/.nix/gcc-3.3.4-static-nix.tar.gz;
md5 = "8b5c3a5881209edb15682e5e0c7459e4";
};
}