<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body smarttemplateinserted="true">
    <div id="smartTemplate4-template">Hello!<br>
      <br>
      <a class="moz-txt-link-freetext"
href="https://gitlab.freedesktop.org/gstreamer/gstreamer/-/tree/1.20#setup-a-mingwwine-based-development-environment-on-linux">https://gitlab.freedesktop.org/gstreamer/gstreamer/-/tree/1.20#setup-a-mingwwine-based-development-environment-on-linux</a><br>
      <br>
      Could you please tell me the which version of Fedora should I use?
      <br>
      <br>
      <i><b>Fedora 34:</b><br>
        <br>
          CMake Error at
        /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:66 (message):<br>
          The C compiler<br>
        <br>
            "/usr/bin/x86_64-w64-mingw32-gcc"<br>
        <br>
          is not able to compile a simple test program.<br>
        <br>
          It fails with the following output:<br>
        <br>
            Change Dir:
/home/conductor/_Work/gstreamer-1.20/gstreamer/winebuild/meson-private/cmake_libpcre/CMakeFiles/CMakeTmp<br>
        <br>
            Run Build Command(s):/usr/bin/gmake -f Makefile
        cmTC_eb6f3/fast && /usr/bin/gmake  -f
        CMakeFiles/cmTC_eb6f3.dir/build.make
        CMakeFiles/cmTC_eb6f3.dir/build<br>
            gmake[1]: Entering directory
'/home/conductor/_Work/gstreamer-1.20/gstreamer/winebuild/meson-private/cmake_libpcre/CMakeFiles/CMakeTmp'<br>
            Building C object
        CMakeFiles/cmTC_eb6f3.dir/testCCompiler.c.obj<br>
            /usr/bin/x86_64-w64-mingw32-gcc
        --sysroot=/usr/x86_64-w64-mingw32/sys-root/mingw    -o
        CMakeFiles/cmTC_eb6f3.dir/testCCompiler.c.obj -c
/home/conductor/_Work/gstreamer-1.20/gstreamer/winebuild/meson-private/cmake_libpcre/CMakeFiles/CMakeTmp/testCCompiler.c<br>
            Linking C executable cmTC_eb6f3.exe<br>
            /usr/bin/cmake -E cmake_link_script
        CMakeFiles/cmTC_eb6f3.dir/link.txt --verbose=1<br>
            /usr/bin/cmake -E rm -f CMakeFiles/cmTC_eb6f3.dir/objects.a<br>
            /usr/bin/x86_64-w64-mingw32-ar cr
        CMakeFiles/cmTC_eb6f3.dir/objects.a
        @CMakeFiles/cmTC_eb6f3.dir/objects1.rsp<br>
            /usr/bin/x86_64-w64-mingw32-gcc
        --sysroot=/usr/x86_64-w64-mingw32/sys-root/mingw
        -Wl,--whole-archive CMakeFiles/cmTC_eb6f3.dir/objects.a
        -Wl,--no-whole-archive -o cmTC_eb6f3.exe
        -Wl,--out-implib,libcmTC_eb6f3.dll.a
        -Wl,--major-image-version,0,--minor-image-version,0
        @CMakeFiles/cmTC_eb6f3.dir/linklibs.rsp<br>
           
/usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld:
        <b>cannot find crt2.o</b>: No such file or directory<br>
            collect2: error: ld returned 1 exit status<br>
            gmake[1]: *** [CMakeFiles/cmTC_eb6f3.dir/build.make:101:
        cmTC_eb6f3.exe] Error 1<br>
            gmake[1]: Leaving directory
'/home/conductor/_Work/gstreamer-1.20/gstreamer/winebuild/meson-private/cmake_libpcre/CMakeFiles/CMakeTmp'<br>
            gmake: *** [Makefile:127: cmTC_eb6f3/fast] Error 2<br>
        <br>
        ...<br>
        <br>
           Executing subproject gstreamer:glib:pcre<br>
        <br>
           Project name: pcre<br>
           Project version: undefined<br>
           C compiler for the host machine:
        /usr/bin/x86_64-w64-mingw32-gcc (gcc 10.3.1
        "x86_64-w64-mingw32-gcc (GCC) 10.3.1 20210422 (Fedora MinGW
        10.3.1-2.fc34)")<br>
           C linker for the host machine:
        /usr/bin/x86_64-w64-mingw32-gcc ld.bfd 2.34-11<br>
           Compiler for language c for the build machine not found.<br>
        <br>
           subprojects/pcre-8.37/meson.build:4:0: ERROR: Tried to access
        compiler for language "c", not specified for build machine.<br>
        <br>
      </i><br>
      <i><i><b>Fedora 35:<br>
          </b><br>
              Executing subproject gstreamer:glib:pcre<br>
          <br>
              Project name: pcre<br>
              Project version: undefined<br>
              C compiler for the host machine:
          /usr/bin/x86_64-w64-mingw32-gcc (gcc 11.2.1
          "x86_64-w64-mingw32-gcc (GCC) 11.2.1 20210728 (Fedora MinGW
          11.2.1-3.fc35)")<br>
              C linker for the host machine:
          /usr/bin/x86_64-w64-mingw32-gcc ld.bfd 2.37-3<br>
              Compiler for language c for the build machine not found.<br>
          <br>
              subprojects/pcre-8.37/meson.build:4:0: ERROR: Tried to
          access compiler for language "c", not specified for build
          machine.<b><br>
            <br>
          </b></i></i>Thanks!<i><i><b><br>
          </b></i></i><br>
      <span class="moz-txt-tag">-- <br>
      </span>With best regards, <br>
       Artem Semenov               <a class="moz-txt-link-freetext"
        href="mailto:artem.semenov@jarillolabs.com">mailto:artem.semenov@jarillolabs.com</a></div>
  </body>
</html>