Sunday, October 31, 2021

Re: getExecutablePath

Stuart Henderson <stu@spacehopper.org> writes:

> Are the executables run with their full path for the bootstrap
> compilers? If so, could it preferentially use that from argv[0] (like
> sshd does when it needs to know its own path for reexec), and fallback
> to /usr/local/whatever if there's no / in argv[0]?

Ironically, yes, they do and it appears to be enough to unblock this
tiny bit of annoyance. Thanks so much Stuart!

https://gitlab.haskell.org/ghc/ghc/-/merge_requests/6879

Thanks
Greg

No comments:

Post a Comment