New options around cross-building for Windows? (was: Building skia with clang(-cl))

Thorsten Behrens thb at libreoffice.org
Sun Jun 7 22:14:28 UTC 2020


Hi,

Stephan Bergmann wrote:
> On 23/04/2020 15:48, Luboš Luňák wrote:
> >   Just for completeness, there's one more option, and that's using Clang-cl
> > instead of MSVC for everything. E.g. Mozilla does it, it is already possible
> > to build LO that way (and I think Stephan does that regularly?).
> > 
> 
> I routinely make (--enable-dbgutil etc.) builds with clang-cl from a
> locally-built LLVM/Clang trunk (i.e., not using whatever Visual Studio might
> offer) on Windows.
>
Putting the pieces together - is my understanding correct, that
clang-cl is now largely ready to cross-build ABI-compatible Windows
binaries from Linux?

Background: Mozilla is in the process of switching over to full
cross-building (https://glandium.org/blog/?p=4020). The clang-cl
compatibility page though has a few caveats still:
https://clang.llvm.org/docs/MSVCCompatibility.html.

Or is that crack-smoking?

Cheers,

-- Thorsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1032 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20200608/391daba7/attachment.sig>


More information about the LibreOffice mailing list