nixpkgs/pkgs/build-support/gcc-wrapper
Lluís Batlle i Rossell 195a90d7ce Fixing a bug in the ld-wrapper, where the dynamic-linker path was taken as a
path worth a "-rpath" entry.

This put a problem in the bootstrap, where we built 'zlib' and wanted to link programs with it, and while they got linked well, at runtime the boostrap-tools zlib came first on rpath becaue
the ld call was done with "-dynamic-linker ..." before "-lz".

I saw this trouble on the fuloong, where the zlib in boostrap-tools is not
runtime compatible with that binutils are linked to.

svn path=/nixpkgs/branches/stdenv-updates/; revision=25107
2010-12-13 22:46:21 +00:00
..
add-flags Merging the gnat-wrapper and gcc-wrapper into a single gcc-wrapper. 2010-01-16 21:32:44 +00:00
builder.sh Merging the ghdl-wrapper and gcc-wrapper into one. 2010-01-16 21:41:27 +00:00
default.nix I had changed the gcc-wrapper shell attribute, for it to be a specific kind of 2010-12-07 15:18:05 +00:00
gcc-wrapper.sh Fixing the gcc-wrapper, so it does not link when gcc is called with '-x 2010-01-16 21:26:10 +00:00
gnat-wrapper.sh Adding two files I forgot to the gcc-wrapper, comming from the old 2010-01-16 23:09:27 +00:00
gnatlink-wrapper.sh Adding two files I forgot to the gcc-wrapper, comming from the old 2010-01-16 23:09:27 +00:00
ld-wrapper.sh Fixing a bug in the ld-wrapper, where the dynamic-linker path was taken as a 2010-12-13 22:46:21 +00:00
setup-hook.sh Porting changes from stdenv-updates into this branch. 2009-11-08 00:32:12 +00:00
utils.sh