[libcxx-commits] [PATCH] D68343: [libc++] Move the linker script generation step to CMake
Petr Hosek via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Oct 9 15:34:17 PDT 2019
phosek added a comment.
In D68343#1699713 <https://reviews.llvm.org/D68343#1699713>, @ldionne wrote:
> I think this is good to go unless we're using a linker script on Windows and the redirection doesn't work, in which case I'll find a workaround.
In D68343#1700294 <https://reviews.llvm.org/D68343#1700294>, @thakis wrote:
> I don't think linker scripts are a thing on Window. lld-link doesn't support them. Maybe something in MinGW does, I don't know.
In D68343#1700312 <https://reviews.llvm.org/D68343#1700312>, @mstorsjo wrote:
> GNU ld does support linker script on COFF (somewhat at least, I think), but lld doesn't.
It's not about using linker scripts on Windows but cross-compiling for other systems that use linker scripts on Windows, e.g. we use linker scripts in Fuchsia and would like to build Clang toolchain including all runtimes on Windows which requires running this code when cross-compiling runtimes for Fuchsia.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68343/new/
https://reviews.llvm.org/D68343
More information about the libcxx-commits
mailing list