* Fix static linking in gcc.

* Use the coreutils in dietlibc.
* Add objdump to the binutils static tarball.

svn path=/nixpkgs/trunk/; revision=6879
This commit is contained in:
Eelco Dolstra
2006-10-27 20:08:53 +00:00
parent 0f7883d12f
commit 3ea7d9d272
8 changed files with 293 additions and 11 deletions
+4 -9
View File
@@ -23,20 +23,16 @@ let
generator = pkgs.stdenv.mkDerivation {
name = "bootstrap-tools-generator";
builder = ./make-bootstrap-tools.sh;
inherit (pkgsDiet)
gnugrep gzip bzip2 gnumake bash patch binutils;
coreutils findutils diffutils gnugrep
gzip bzip2 gnumake bash patch binutils;
gnused = pkgsDiet.gnused412; # 4.1.5 gives "Memory exhausted" errors
# patchelf is C++, won't work with dietlibc.
inherit (pkgsStatic) patchelf;
# Coreutils won't build on dietlibc on x86_64 (and by extension,
# findutils and diffutils).
inherit (if pkgs.stdenv.system == "powerpc-linux" then pkgsStatic else pkgsDiet)
coreutils findutils diffutils;
gnutar =
# Tar seems to be broken on dietlibc on x86_64.
if pkgs.stdenv.system == "i686-linux"
@@ -50,10 +46,9 @@ let
then pkgsDiet.gawk
else pkgsStatic.gawk;
gcc = import ../../development/compilers/gcc-4.1 {
gcc = import ../../development/compilers/gcc-4.1-temp {
inherit (pkgs) fetchurl stdenv;
noSysDirs = true;
profiledCompiler = true;
langCC = false;
staticCompiler = true;
};