nixpkgs/pkgs/development
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
..
compilers Typo. 2009-12-10 21:39:02 +00:00
eclipse ECJ 3.5.1. 2009-11-05 14:36:45 +00:00
guile-modules Add GNU guile-gnome. 2009-10-05 22:21:50 +00:00
interpreters * PHP 5.2.11. 2009-12-03 14:33:40 +00:00
libraries * RPM updated to 4.7.2. 2009-12-09 22:34:51 +00:00
misc adding neko 2009-11-30 01:05:07 +00:00
perl-modules Making perl DB_File follow the lib/perl5/site_perl convention for the *.pm files, 2009-10-15 22:08:23 +00:00
python-modules Fix the cleanup-induced problems 2009-11-23 12:21:34 +00:00
ruby-modules Two Ruby modules 2008-10-05 09:00:56 +00:00
tools Adding a new version of the gcc-wrapper, named gcc-wrapper2, in order not to rebuild 2009-12-10 22:19:52 +00:00