nixpkgs/pkgs/development/tools/build-managers
Lluís Batlle i Rossell f3c23487a2 Adding a new version of the gcc-wrapper, named gcc-wrapper2, in order not to rebuild
stdenv.

In this gcc-wrapper2 I made the ld-wrapper.sh to handle the linking with shared
objects through direct pass as ld command arguments of the absolute path to shared
objects, instead of using the -L/-l combinations.

cmake 'FindXXX.cmake' modules make a strong usage of the dynamic linking directly
passing the absolute path to the shared object to the linker, and as our wrapper did
not add any -rpath for those, writting the nix expressions for some cmake packages
resulted in a lot of tricks, compared to using this gcc-wrapper2.

This gcc-wrapper2/ld-wrapper.sh should become the gcc-wrapper/ld-wrapper in a
stdenv update.

I also updated some cmake expressions to use this gcc-wrapper2, and reduced its
tricks.

I also updated the cmake setup-hook for it to make cmake not touch any rpath decided
at build time, when running the 'make install' of makefiles created by cmake.

svn path=/nixpkgs/trunk/; revision=18885
2009-12-10 22:19:52 +00:00
..
apache-ant More Apache mirrors; use them for Ant. 2009-10-01 09:07:09 +00:00
buildbot Updated scons and twisted; added buildbot. 2008-09-01 15:11:09 +00:00
cmake Adding a new version of the gcc-wrapper, named gcc-wrapper2, in order not to rebuild 2009-12-10 22:19:52 +00:00
gnumake * Make the nested output patch in GNU Make runtime configurable (by 2009-01-19 18:49:58 +00:00
gnumake-3.80 * Get rid of all references to nix.cs.uu.nl. 2008-11-14 16:57:19 +00:00
mk * Get rid of all references to nix.cs.uu.nl. 2008-11-14 16:57:19 +00:00
remake Adding 'remake': a patched and modernized version of GNU make utility that adds 2009-10-11 15:03:13 +00:00
scons scons: don't overwrite a pre-existing PYTHONPATH in the wrapper 2009-07-13 20:08:44 +00:00