<div><div dir="auto">I suspect mingw is going to be incompatible with Petr’s needs.  Adding Nico as he probably does the most cross compiling.  I did it a little several weeks ago, just not with libc++, and I don’t remember running into any problems.</div></div><div dir="auto"><br></div><div dir="auto">One thing that’s not clear to me is why the resource compiler is even being invoked at all</div><div><br><div class="gmail_quote"><div dir="ltr">On Tue, Nov 6, 2018 at 5:46 AM Martin Storsjö via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, 6 Nov 2018, Jean-Michaël Celerier via llvm-dev wrote:<br>
<br>
> I have been using this project with great success to achieve this : <br>
> <a href="https://github.com/mstorsjo/llvm-mingw" rel="noreferrer" target="_blank">https://github.com/mstorsjo/llvm-mingw</a><br>
><br>
> It generates a linux-based windows cross-compiler with clang, libc++, etc.<br>
<br>
FWIW, lately I've added prebuilt packages of it that you can run on actual <br>
windows as well, even though cross compilation was my first/main focus.<br>
<br>
> I was able to build a large part of Qt with it afterwards for instance.<br>
<br>
Any particular part of Qt which you weren't able to build with it? I <br>
regularly build Qt (qtbase) for i686/x86_64/armv7/aarch64, and as part of <br>
VLC, I also build a few more Qt modules (qtdeclarative, qtquickcontrols2) <br>
for i686 and x86_64.<br>
<br>
// Martin<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div></div>