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.
centos cross-compilation mingw
add a comment |
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.
centos cross-compilation mingw
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
add a comment |
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.
centos cross-compilation mingw
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
centos cross-compilation mingw
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
add a comment |
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
add a comment |
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
add a comment |
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.
add a comment |
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
add a comment |
up vote
2
down vote
accepted
With the EPEL repo installed you can install mingw-w64
with:
yum install mingw64-gcc
add a comment |
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
With the EPEL repo installed you can install mingw-w64
with:
yum install mingw64-gcc
answered Jun 20 at 13:07
Stuart Cardall
781510
781510
add a comment |
add a comment |
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.
add a comment |
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.
add a comment |
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.
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.
answered Dec 1 '16 at 17:55
ggb667
1064
1064
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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