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



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [P... Paul Robinson via Phabricator via cfe-commits
  • [P... Reid "Away June-Sep" Kleckner via Phabricator via cfe-commits
  • [P... Martin Storsjö via Phabricator via cfe-commits
  • [P... Martin Storsjö via Phabricator via cfe-commits
  • [P... Sam Clegg via Phabricator via cfe-commits
  • [P... Sam Clegg via Phabricator via cfe-commits
  • [P... Martin Storsjö via Phabricator via cfe-commits
  • [P... Sam Clegg via Phabricator via cfe-commits
  • [P... Martin Storsjö via Phabricator via cfe-commits
  • [P... Mateusz Mikuła via Phabricator via cfe-commits
  • [P... Sam Clegg via Phabricator via cfe-commits
  • [P... Martin Storsjö via Phabricator via cfe-commits

Reply via email to