Fixing some things on the gcc-cross-wrapper (libc was not properly added to the

linking path), and with this achieved bash being cross-compilable.
I fixed the few expressions involved in bash building, so they have well stated
native and non-native inputs.

I also tried to cross-build guile, and with this I found a problem in the
actual cross-gcc: it calls the binutils ld, instead of the ld wrapper. This
way, the programs/shared_libraries don't get the proper -rpath.


svn path=/nixpkgs/branches/stdenv-updates/; revision=18497
This commit is contained in:
Lluís Batlle i Rossell
2009-11-20 22:56:58 +00:00
parent b27cf66ee2
commit a5fee3325a
5 changed files with 13 additions and 8 deletions

View File

@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "1bmpp31sfjl3nzj8psvnsqrrv4gwnqzii8dxpxr6djz508yavsv6";
};
buildInputs = [ lzma m4 perl ];
buildNativeInputs = [ lzma m4 perl ];
unpackCmd = "lzma -d < $src | tar xv";