[CMake] YARI (yet another RPATH idea)

Alexander Neundorf a.neundorf-work at gmx.net
Fri Jul 7 08:38:56 EDT 2006


Hi,

it's me again, again with my favourite topic: RPATH.
On the Mac there is the install name tool, and now I found a similar tool for ELF systems, chrpath.
chrpath is able to:
1) remove the RPATH from a executable or library
2) change the RPATH to a RUNPATH
3) replace the RPATH with another RPATH, but the new one may not be longer than the existing one.

With this nice tool the need for relinking can be avoided, but only if the already existing RPATH is long enough for the new RPATH.
Maybe this could be supported somewhat similar to install_name_tool ?

Bye
Alex


-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


More information about the CMake mailing list