[flang-commits] [clang] [flang] [driver] Generalize the code that adds the path of libflang_rt.runtime.a. (PR #134362)

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Fri Apr 4 11:21:22 PDT 2025


vzakhari wrote:

Can you please explain why you want to link the static library by default?  For example, Clang has these options https://clang.llvm.org/docs/ClangCommandLineReference.html#cmdoption-clang-static-libgcc that allow users to force the static linking, and, I think, by default it links shared compiler support libraries.

Also, how does the full path linking of the shared library works with `-frtlib-add-rpath`?

https://github.com/llvm/llvm-project/pull/134362


More information about the flang-commits mailing list