[PATCH] D80876: [clang] Default to windows response files when running on windows
Sam Clegg via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 3 12:38:29 PDT 2020
sbc100 added a comment.
In D80876#2070233 <https://reviews.llvm.org/D80876#2070233>, @mstorsjo wrote:
> In D80876#2069970 <https://reviews.llvm.org/D80876#2069970>, @sbc100 wrote:
>
> > Do you know how gcc handles this case when running on mingw?
>
>
> It uses the gnu/unix quoting style - so that's the case for wanting clang to preserve compatibility with that behaviour.
Is there any case where gcc on windows will use the windows quoting style?
If the answer is no, and I assume GNU ar is the same, then perhaps the solution is revert https://reviews.llvm.org/D69665 instead and have all the llvm tools except clang-cl default to the GNU style.
> The fact that any clang can be used for any target, blurs the distinction, as an msys2/mingw based clang both can be used for targeting wasm (where the build tools might expect to use windows style quoting) and for general mingw target things (where the build tools out of tradition expects to use unix style quoting in rsp files).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80876/new/
https://reviews.llvm.org/D80876
More information about the cfe-commits
mailing list