[llvm-dev] Trying to cross-compile LLVM runtimes to Windows
Martin Storsjö via llvm-dev
llvm-dev at lists.llvm.org
Tue Nov 6 06:04:32 PST 2018
Yes, I don't think mingw will fit his needs, but it's at least some
datapoint wrt "does anybody do this". But as most of the tool interfaces
are different it probably won't hit the same issues anyway.
// Martin
On Tue, 6 Nov 2018, Zachary Turner wrote:
> 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.
>
> One thing that’s not clear to me is why the resource compiler is even being
> invoked at all
>
> On Tue, Nov 6, 2018 at 5:46 AM Martin Storsjö via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
> On Tue, 6 Nov 2018, Jean-Michaël Celerier via llvm-dev wrote:
>
> > I have been using this project with great success to achieve
> this :
> > https://github.com/mstorsjo/llvm-mingw
> >
> > It generates a linux-based windows cross-compiler with clang,
> libc++, etc.
>
> FWIW, lately I've added prebuilt packages of it that you can run
> on actual
> windows as well, even though cross compilation was my first/main
> focus.
>
> > I was able to build a large part of Qt with it afterwards for
> instance.
>
> Any particular part of Qt which you weren't able to build with
> it? I
> regularly build Qt (qtbase) for i686/x86_64/armv7/aarch64, and
> as part of
> VLC, I also build a few more Qt modules (qtdeclarative,
> qtquickcontrols2)
> for i686 and x86_64.
>
> // Martin
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
>
>
More information about the llvm-dev
mailing list