Where can I find and install the mingw-w64 packages for centos-7?











up vote
0
down vote

favorite












Trying to get cross compiling working on centos7. (I have jenkins running in that environment.) There is a lot of out of date documentation on the web for mingw. Apparently there was an answer here but is gone. The cross compilation steps are discussed here. I can do a sudo yum groupinstall -y packagename, but nothing I try works (MinGW-64 mingw-64 mingw64, MinGW64, or MinGW cross-compiler) as I have seen in various posts and forums. I also tried downloading the source but had no luck with that also as various pre-requsites are missing, and when I try and obtain them they don't exist or are the wrong version.










share|improve this question
























  • Have you tried installing using the EPEL repositories?
    – Timothy Martin
    Dec 1 '16 at 1:51










  • That's a good resource I was unaware of. I found discussion groups and some good documentation there. Thanks. I wonder why Google could not point it out?
    – ggb667
    Dec 1 '16 at 18:04










  • @ggb667 Because as of lately google has completely abandoned search for information in favour of search for advertising.
    – ajeh
    Jun 20 at 14:34















up vote
0
down vote

favorite












Trying to get cross compiling working on centos7. (I have jenkins running in that environment.) There is a lot of out of date documentation on the web for mingw. Apparently there was an answer here but is gone. The cross compilation steps are discussed here. I can do a sudo yum groupinstall -y packagename, but nothing I try works (MinGW-64 mingw-64 mingw64, MinGW64, or MinGW cross-compiler) as I have seen in various posts and forums. I also tried downloading the source but had no luck with that also as various pre-requsites are missing, and when I try and obtain them they don't exist or are the wrong version.










share|improve this question
























  • Have you tried installing using the EPEL repositories?
    – Timothy Martin
    Dec 1 '16 at 1:51










  • That's a good resource I was unaware of. I found discussion groups and some good documentation there. Thanks. I wonder why Google could not point it out?
    – ggb667
    Dec 1 '16 at 18:04










  • @ggb667 Because as of lately google has completely abandoned search for information in favour of search for advertising.
    – ajeh
    Jun 20 at 14:34













up vote
0
down vote

favorite









up vote
0
down vote

favorite











Trying to get cross compiling working on centos7. (I have jenkins running in that environment.) There is a lot of out of date documentation on the web for mingw. Apparently there was an answer here but is gone. The cross compilation steps are discussed here. I can do a sudo yum groupinstall -y packagename, but nothing I try works (MinGW-64 mingw-64 mingw64, MinGW64, or MinGW cross-compiler) as I have seen in various posts and forums. I also tried downloading the source but had no luck with that also as various pre-requsites are missing, and when I try and obtain them they don't exist or are the wrong version.










share|improve this question















Trying to get cross compiling working on centos7. (I have jenkins running in that environment.) There is a lot of out of date documentation on the web for mingw. Apparently there was an answer here but is gone. The cross compilation steps are discussed here. I can do a sudo yum groupinstall -y packagename, but nothing I try works (MinGW-64 mingw-64 mingw64, MinGW64, or MinGW cross-compiler) as I have seen in various posts and forums. I also tried downloading the source but had no luck with that also as various pre-requsites are missing, and when I try and obtain them they don't exist or are the wrong version.







centos cross-compilation mingw






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 23 '17 at 12:39









Community

1




1










asked Nov 30 '16 at 19:49









ggb667

1064




1064












  • Have you tried installing using the EPEL repositories?
    – Timothy Martin
    Dec 1 '16 at 1:51










  • That's a good resource I was unaware of. I found discussion groups and some good documentation there. Thanks. I wonder why Google could not point it out?
    – ggb667
    Dec 1 '16 at 18:04










  • @ggb667 Because as of lately google has completely abandoned search for information in favour of search for advertising.
    – ajeh
    Jun 20 at 14:34


















  • Have you tried installing using the EPEL repositories?
    – Timothy Martin
    Dec 1 '16 at 1:51










  • That's a good resource I was unaware of. I found discussion groups and some good documentation there. Thanks. I wonder why Google could not point it out?
    – ggb667
    Dec 1 '16 at 18:04










  • @ggb667 Because as of lately google has completely abandoned search for information in favour of search for advertising.
    – ajeh
    Jun 20 at 14:34
















Have you tried installing using the EPEL repositories?
– Timothy Martin
Dec 1 '16 at 1:51




Have you tried installing using the EPEL repositories?
– Timothy Martin
Dec 1 '16 at 1:51












That's a good resource I was unaware of. I found discussion groups and some good documentation there. Thanks. I wonder why Google could not point it out?
– ggb667
Dec 1 '16 at 18:04




That's a good resource I was unaware of. I found discussion groups and some good documentation there. Thanks. I wonder why Google could not point it out?
– ggb667
Dec 1 '16 at 18:04












@ggb667 Because as of lately google has completely abandoned search for information in favour of search for advertising.
– ajeh
Jun 20 at 14:34




@ggb667 Because as of lately google has completely abandoned search for information in favour of search for advertising.
– ajeh
Jun 20 at 14:34










2 Answers
2






active

oldest

votes

















up vote
2
down vote



accepted










With the EPEL repo installed you can install mingw-w64 with:



yum install mingw64-gcc





share|improve this answer




























    up vote
    0
    down vote













    Finally located a compiled binary (good enough for my purposes) that will work. Here is the 64 bit binary for linux (prebuilt, just DL, and unpack it and upload the tar to the box). You will need to create an /opt/mingw64 directory and untar the file in that directory (sudo tar -xvf ~/mingw-w64-bin_x86_64-linux_20131228.tar) for ex.
    https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Automated%20Builds/
    http://www.blogcompiler.com/2010/07/11/compile-for-windows-on-linux/



    The compiler will be /opt/mingw64/bin/x86_64-w64-mingw32-gcc instead of just gcc. The reason for this is that we should be able to pick the right gcc, even if there are multiple compilers in the PATH environment.






    share|improve this answer





















      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "106"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f327156%2fwhere-can-i-find-and-install-the-mingw-w64-packages-for-centos-7%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      2
      down vote



      accepted










      With the EPEL repo installed you can install mingw-w64 with:



      yum install mingw64-gcc





      share|improve this answer

























        up vote
        2
        down vote



        accepted










        With the EPEL repo installed you can install mingw-w64 with:



        yum install mingw64-gcc





        share|improve this answer























          up vote
          2
          down vote



          accepted







          up vote
          2
          down vote



          accepted






          With the EPEL repo installed you can install mingw-w64 with:



          yum install mingw64-gcc





          share|improve this answer












          With the EPEL repo installed you can install mingw-w64 with:



          yum install mingw64-gcc






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jun 20 at 13:07









          Stuart Cardall

          781510




          781510
























              up vote
              0
              down vote













              Finally located a compiled binary (good enough for my purposes) that will work. Here is the 64 bit binary for linux (prebuilt, just DL, and unpack it and upload the tar to the box). You will need to create an /opt/mingw64 directory and untar the file in that directory (sudo tar -xvf ~/mingw-w64-bin_x86_64-linux_20131228.tar) for ex.
              https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Automated%20Builds/
              http://www.blogcompiler.com/2010/07/11/compile-for-windows-on-linux/



              The compiler will be /opt/mingw64/bin/x86_64-w64-mingw32-gcc instead of just gcc. The reason for this is that we should be able to pick the right gcc, even if there are multiple compilers in the PATH environment.






              share|improve this answer

























                up vote
                0
                down vote













                Finally located a compiled binary (good enough for my purposes) that will work. Here is the 64 bit binary for linux (prebuilt, just DL, and unpack it and upload the tar to the box). You will need to create an /opt/mingw64 directory and untar the file in that directory (sudo tar -xvf ~/mingw-w64-bin_x86_64-linux_20131228.tar) for ex.
                https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Automated%20Builds/
                http://www.blogcompiler.com/2010/07/11/compile-for-windows-on-linux/



                The compiler will be /opt/mingw64/bin/x86_64-w64-mingw32-gcc instead of just gcc. The reason for this is that we should be able to pick the right gcc, even if there are multiple compilers in the PATH environment.






                share|improve this answer























                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  Finally located a compiled binary (good enough for my purposes) that will work. Here is the 64 bit binary for linux (prebuilt, just DL, and unpack it and upload the tar to the box). You will need to create an /opt/mingw64 directory and untar the file in that directory (sudo tar -xvf ~/mingw-w64-bin_x86_64-linux_20131228.tar) for ex.
                  https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Automated%20Builds/
                  http://www.blogcompiler.com/2010/07/11/compile-for-windows-on-linux/



                  The compiler will be /opt/mingw64/bin/x86_64-w64-mingw32-gcc instead of just gcc. The reason for this is that we should be able to pick the right gcc, even if there are multiple compilers in the PATH environment.






                  share|improve this answer












                  Finally located a compiled binary (good enough for my purposes) that will work. Here is the 64 bit binary for linux (prebuilt, just DL, and unpack it and upload the tar to the box). You will need to create an /opt/mingw64 directory and untar the file in that directory (sudo tar -xvf ~/mingw-w64-bin_x86_64-linux_20131228.tar) for ex.
                  https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Automated%20Builds/
                  http://www.blogcompiler.com/2010/07/11/compile-for-windows-on-linux/



                  The compiler will be /opt/mingw64/bin/x86_64-w64-mingw32-gcc instead of just gcc. The reason for this is that we should be able to pick the right gcc, even if there are multiple compilers in the PATH environment.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Dec 1 '16 at 17:55









                  ggb667

                  1064




                  1064






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Unix & Linux Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.





                      Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                      Please pay close attention to the following guidance:


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f327156%2fwhere-can-i-find-and-install-the-mingw-w64-packages-for-centos-7%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      サソリ

                      広島県道265号伴広島線

                      Accessing regular linux commands in Huawei's Dopra Linux