> We could compile a '__guix_shell_path = "/..."' during the compilation
> of the package (as a .o) and wrap gcc to insert it to the CLI arguments,
> no linker scripts required.
Alas, for some reason I couldn't find any documentation on how to define
strings in a linker script. But never mind that, since that's a far
better idea :)
> Not all linkers support linker scripts, e.g. mold doesn't from what I've
> read because they make the linker slower.
Would we really need to support anything other than ld, gold, and lld,
though?
-- (