Re: Setting the dynamic linker with an environment variable

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

 



On Tue, Sep 9, 2014 at 3:30 PM, Shaun Jackman <sjackman@xxxxxxxxx> wrote:
>
> Is there an environment variable to
> set the -Wl,--dynamic-linker option?

No.  That's a fairly unusual thing to want to do.


> Alternatively, how can I modify the default `specs` file of GCC to add
> to the default linker options
> -L$prefix/lib -Wl,-rpath,$prefix/lib -Wl,--dynamic-linker
> $prefix/lib/ld-linux-x86-64.so.2

If you want to go that route, add it to the line after "*link:" in the
specs file.

Ian




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux