Re: [Nix-dev] gold linker in shell.nix
Hi Nikita I have not looked precisely on using the gold linker yet, but I guess this might be similar to what I have done with overriding the default compiler in stdenv [1]. You might want to have a look around the stdenvAdapters. [1] https://github.com/nbp/firefox-build-env/blob/master/release.nix On Fri, May 1, 2015 at 6:21 PM, Nikita Karetnikov nik...@karetnikov.org wrote: How do I link with gold in nix-shell? ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev -- Nicolas Pierron http://www.linkedin.com/in/nicolasbpierron - http://nbp.name/ #NixOSParis evening — June 4 ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] gold linker in shell.nix
On 05/03/2015 03:09 AM, Nikita Karetnikov wrote: Stdenv should put ld.gold on PATH, so then it can be used just as ld.gold is used, I guess. So, are you suggesting to just enable it system-wide? How can I do that? I'm trying to say that any package can see both standard ld and ld.gold, so everyone can choose. I think some packages already do use it - they check if it's available and prefer ld.gold over ld. Forcing ld.gold instead of ld system-wide is probably not a good idea. I've read it's unable to link some kernel and grub stuff, and some changes in behavior could cause lots of breakages by itself in many packages. Vladimir smime.p7s Description: S/MIME Cryptographic Signature ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] gold linker in shell.nix
Stdenv should put ld.gold on PATH, so then it can be used just as ld.gold is used, I guess. So, are you suggesting to just enable it system-wide? How can I do that? ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] gold linker in shell.nix
How do I link with gold in nix-shell? ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] gold linker in shell.nix
On 05/01/2015 06:21 PM, Nikita Karetnikov wrote: How do I link with gold in nix-shell? Stdenv should put ld.gold on PATH, so then it can be used just as ld.gold is used, I guess. Vladimir smime.p7s Description: S/MIME Cryptographic Signature ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev