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:
parent
261451c3ec
commit
88ab6c1edd
5
pkgs/stdenv/nix-linux/gcc-static/builder.sh
Normal file
5
pkgs/stdenv/nix-linux/gcc-static/builder.sh
Normal file
@ -0,0 +1,5 @@
|
||||
. $stdenv/setup
|
||||
|
||||
tar zxvf $src
|
||||
mkdir $out
|
||||
cp -a gcc-3.3.4/* $out
|
10
pkgs/stdenv/nix-linux/gcc-static/default.nix
Normal file
10
pkgs/stdenv/nix-linux/gcc-static/default.nix
Normal 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";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user