Re: Adding default RUNPATH to compiled binaries

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

 



2011/12/11 Maciej (Matchek) Bliziński:
> What's the recommended way of doing it?

There's no single best option suitable for everyone.

There are some alternatives listed in the documentation:

http://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dynamic_or_shared.html#manual.intro.using.linkage.dynamic

http://gcc.gnu.org/faq.html#rpath

Personally I usually ensure my makefiles will use -Wl,-rpath during
linking to set RPATH in the executables.



[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