[PATCH] Add -fld-path= to specify an arbitrary executable as the linker

Fāng-ruì Sòng maskray@google.com
Thu Jul 2 19:34:49 GMT 2020


On 2020-07-01, Fāng-ruì Sòng wrote:
>On 2020-07-01, Martin Liška wrote:
>>On 6/30/20 5:32 PM, Fāng-ruì Sòng wrote:
>>>There is some concern about clang's -fuse-ld=path
>>>http://lists.llvm.org/pipermail/cfe-dev/2020-June/065710.html and use
>>>of COMPILER_PATH vs PATH.
>>>Shall we introduce another option like -fld-path=path (PATH is used,
>>>COMPILER_PATH is not used)?
>>
>>I would recommend first landing a patch to LLVM and then we can do
>>a corresponding change to GCC.
>>
>>Martin
>
>Thank a lot for you welcoming words! This is what I intend to add for clang: https://reviews.llvm.org/D83015
>
>I'll create a GCC patch superseding this one later.

Attached the new patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-fld-path-to-specify-an-arbitrary-executable-as-t.patch
Type: text/x-diff
Size: 6461 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200702/2b414782/attachment-0001.bin>


More information about the Gcc-patches mailing list