guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gnu: Add GCC front ends for Fortran, Go, Objective C, and Ob


From: Ludovic Courtès
Subject: Re: [PATCH] gnu: Add GCC front ends for Fortran, Go, Objective C, and Objective C++.
Date: Fri, 01 Nov 2013 23:41:38 +0100
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Nikita Karetnikov <address@hidden> skribis:

>> ‘ld-wrapper’ is a wrapper around the linker that adds a -rpath argument
>> for each -l argument (see the top of ld-wrapper.scm), such that all the
>> needed libraries are in the resulting binary’s RUNPATH.
>
> Could you show how it helps to avoid the need to set environment
> variables?

In the general case, you wouldn’t want to type:

  export LD_LIBRARY_PATH=/nix/store/foo:/nix/store/bar:...

More importantly, you could easily get it wrong, leading to crashes or
random behavior.

Setting RUNPATH at build time allows us to live our computing life in
peace and harmony.

HTH.  :-)

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]