<div dir="ltr">Thanks ... this is all very helpful.</div><br><div class="gmail_quote"><div dir="ltr">On Sun, Sep 2, 2018 at 10:12 AM Nirbheek Chauhan <<a href="mailto:nirbheek.chauhan@gmail.com">nirbheek.chauhan@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, Sep 2, 2018 at 9:42 PM David Ing <<a href="mailto:ding@panopto.com" target="_blank">ding@panopto.com</a>> wrote:<br>
><br>
> I am anxiously awaiting the completion of your work Nirbheek.  (Debug symbols on Windows would be very helpful.)<br>
><br>
> I was wondering:  When you are finished, will it also be possible to use Cerbero to build Gstreamer with the Clang compiler on Windows and Linux?  Or is this strictly a Visual Studio / Windows thing?<br>
><br>
<br>
You should be able to build GStreamer with Clang on Linux with Cerbero<br>
already. Try setting `CC` and `CXX` to point to clang and clang++<br>
respectively. This should be correctly picked up by Meson, Autotools,<br>
and CMake inside Cerbero.<br>
<br>
For Windows, there's a bunch of different configurations in which you<br>
can use Clang: Clang/MinGW (ld or lld) and Clang/MSVC (link.exe or<br>
lld). None of these are supported right now, but it should be possible<br>
to use them with some work. Foremost, there are some Meson bugs that<br>
need to be fixed[1], and then Cerbero will need a flag to select the<br>
toolchain to use for Meson recipes. Currently on Windows, there is<br>
just one flag that flips whether a Meson recipe is built with the<br>
MinGW toolchain setup by Cerbero or MSVC found on the system. That can<br>
be converted to an enum with a list of valid values.<br>
<br>
[1] List of bugs:<br>
<a href="https://github.com/mesonbuild/meson/issues/534" rel="noreferrer" target="_blank">https://github.com/mesonbuild/meson/issues/534</a><br>
<a href="https://github.com/mesonbuild/meson/issues/2560" rel="noreferrer" target="_blank">https://github.com/mesonbuild/meson/issues/2560</a><br>
<a href="https://github.com/mesonbuild/meson/issues/2622" rel="noreferrer" target="_blank">https://github.com/mesonbuild/meson/issues/2622</a><br>
<a href="https://github.com/mesonbuild/meson/issues/3597" rel="noreferrer" target="_blank">https://github.com/mesonbuild/meson/issues/3597</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div>