Re: Binary relocatability

Mike Hearn <[email protected]>
Newsgroups gmane.linux.lsb.discuss
Message-ID <[email protected]>
> /proc/self/exe totally solves it for binaries.

Are there libraries that might need to load external data files (you
can't assume they have the same prefix)?

> Script interpreters should already have solutions.  For instance,
> posix sh uses $0 as follows:

Good point.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.