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.