On Mon, Jun 28, 2021 at 04:41:06PM +0300, Artur Sinila wrote:
> See https://reviews.llvm.org/D83015. Speaking about -B option, AFAIK it
> will make gcc to search for collect2, cc and other tools in specified
> directory, so apart from creating a symlink to mold, I'll also need to
> create symlinks to all those tools. Didn't try it in practice though.

You don't.  -B adds a path to the list of paths searched for the various
tools etc.  If the tool is not found in any of those directories, the
search continues in the standard paths etc. as described in the
documentation.

        Jakub

Reply via email to