This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

rpath question


let's say I have an executable myprog that depends on a shared library foo.so
foo.so in turn depends on bar.so
now I set rpath on myprog to be /tmp, rpath on foo.so to be /tmp/foo
and rpath on bar.so to be /tmp/bar

Q: when I run foo, what will the resulting rpath be?

/tmp
/tmp:/tmp/foo
/tmp:/tmp/foo:/tmp/bar
some other value?

TIA


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]