3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/build-support/gcc-cross-wrapper
Lluís Batlle i Rossell a5fee3325a 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
2009-11-20 22:56:58 +00:00
..
add-flags add a wrapper for cross compilers, which makes the correct link to the cross compiler. Only works for "gcc", haven't tried for g++ and the others 2005-11-29 01:40:33 +00:00
builder.sh Fixing the uboot cross-build. 2009-11-19 21:43:03 +00:00
default.nix Trying to move all stdenv cross-compiling details out of the stdenv expression, 2009-11-17 21:14:57 +00:00
gcc-wrapper.sh * "." -> "source". 2005-12-05 14:11:09 +00:00
ld-wrapper.sh * "." -> "source". 2005-12-05 14:11:09 +00:00
setup-hook.sh Fixing some things on the gcc-cross-wrapper (libc was not properly added to the 2009-11-20 22:56:58 +00:00
utils.sh add a wrapper for cross compilers, which makes the correct link to the cross compiler. Only works for "gcc", haven't tried for g++ and the others 2005-11-29 01:40:33 +00:00