[PATCH] D83015: [Driver] Add --ld-path= and deprecate -fuse-ld=/abs/path and -fuse-ld=rel/path

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 16 11:52:22 PDT 2020


MaskRay added a comment.

I tweaked the following item in the last revision

> a relative path without a path component separator (/), the value is searched using the -B, COMPILER_PATH, then PATH.

My communication with GCC folks is that they will be happy to adopt something like --ld-path. GCC -fuse-ld= searches for all of -B, COMPILER_PATH, then PATH.
This clang patch aligns with my proposed GCC patch (https://sourceware.org/pipermail/gcc-patches/2020-July/549386.html I need to tweak the option name but Martin said he would be happy with a clang resolution)

@jyknight @phosek  Can I get a bit more approval power? :)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83015/new/

https://reviews.llvm.org/D83015





More information about the cfe-commits mailing list