Is there a way to build emacs on Linux so it doesn't embed the path where it was built into the binary, and it can be relocated harmlessly to a different path?
That is, if you build with
--prefix=/a/b/c then move everything to
/d/e/f it won't run, because it depends on the fixed path
/a/b/c. I see the string
/a/b/c inside the binary itself.
Windows emacs can be installed to any directory and it runs from there just fine, so it makes me think you can tell Linux emacs to run the same way, from "wherever you are sitting now".
We have no options like a fixed name symlink up the directory tree pointing to the variable path below it.