Can't install gcc with cygwin on Windows 10












3















After installing cygwin on Windows 10, I tried to install gcc by



cd C:cygwin
C:cygwinsetup-x86_64.exe -q -P wget -P gcc-g++ -P make -P diffutils -P libmpfr-devel -P libgmp-devel -P libmpc-devel


as suggested here How to Install the Latest GCC on Windows.



But after executing the command I get this error:




"This app can't run on your pc"




Has anyone else had this problem and know how to solve it?










share|improve this question

























  • I have no problem installing gcc within cygwin on my Windows 10 machine. This error mean something else entirely.. The file you are running at the command prompt is a Windows executable you do realize that right?

    – Ramhound
    Apr 15 '16 at 14:59











  • yeah of course...but i do it in windows cmd - so why not? I do execatly what is suggest at the link i posted.

    – user69453
    Apr 15 '16 at 15:06











  • The site doesn't work for me.

    – Ramhound
    Apr 15 '16 at 15:08











  • Works fine with MS Edge and Google Chrome.

    – user69453
    Apr 15 '16 at 15:09











  • Site does not work for me, I know the reason, but I simply can't reference it. But I have compiled gcc within cygwin on Windows without any problems in the past. Are you running a 32-bit or 64-bit version of Windows 10? Based on the cause of the error, I am going to guess, your trying to run a 64-bit installer on a 32-bit version of Windows 10.

    – Ramhound
    Apr 15 '16 at 15:13


















3















After installing cygwin on Windows 10, I tried to install gcc by



cd C:cygwin
C:cygwinsetup-x86_64.exe -q -P wget -P gcc-g++ -P make -P diffutils -P libmpfr-devel -P libgmp-devel -P libmpc-devel


as suggested here How to Install the Latest GCC on Windows.



But after executing the command I get this error:




"This app can't run on your pc"




Has anyone else had this problem and know how to solve it?










share|improve this question

























  • I have no problem installing gcc within cygwin on my Windows 10 machine. This error mean something else entirely.. The file you are running at the command prompt is a Windows executable you do realize that right?

    – Ramhound
    Apr 15 '16 at 14:59











  • yeah of course...but i do it in windows cmd - so why not? I do execatly what is suggest at the link i posted.

    – user69453
    Apr 15 '16 at 15:06











  • The site doesn't work for me.

    – Ramhound
    Apr 15 '16 at 15:08











  • Works fine with MS Edge and Google Chrome.

    – user69453
    Apr 15 '16 at 15:09











  • Site does not work for me, I know the reason, but I simply can't reference it. But I have compiled gcc within cygwin on Windows without any problems in the past. Are you running a 32-bit or 64-bit version of Windows 10? Based on the cause of the error, I am going to guess, your trying to run a 64-bit installer on a 32-bit version of Windows 10.

    – Ramhound
    Apr 15 '16 at 15:13
















3












3








3








After installing cygwin on Windows 10, I tried to install gcc by



cd C:cygwin
C:cygwinsetup-x86_64.exe -q -P wget -P gcc-g++ -P make -P diffutils -P libmpfr-devel -P libgmp-devel -P libmpc-devel


as suggested here How to Install the Latest GCC on Windows.



But after executing the command I get this error:




"This app can't run on your pc"




Has anyone else had this problem and know how to solve it?










share|improve this question
















After installing cygwin on Windows 10, I tried to install gcc by



cd C:cygwin
C:cygwinsetup-x86_64.exe -q -P wget -P gcc-g++ -P make -P diffutils -P libmpfr-devel -P libgmp-devel -P libmpc-devel


as suggested here How to Install the Latest GCC on Windows.



But after executing the command I get this error:




"This app can't run on your pc"




Has anyone else had this problem and know how to solve it?







windows-10 cygwin gcc






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 29 '16 at 14:13









Excellll

11.2k74164




11.2k74164










asked Apr 15 '16 at 14:52









user69453user69453

1721312




1721312













  • I have no problem installing gcc within cygwin on my Windows 10 machine. This error mean something else entirely.. The file you are running at the command prompt is a Windows executable you do realize that right?

    – Ramhound
    Apr 15 '16 at 14:59











  • yeah of course...but i do it in windows cmd - so why not? I do execatly what is suggest at the link i posted.

    – user69453
    Apr 15 '16 at 15:06











  • The site doesn't work for me.

    – Ramhound
    Apr 15 '16 at 15:08











  • Works fine with MS Edge and Google Chrome.

    – user69453
    Apr 15 '16 at 15:09











  • Site does not work for me, I know the reason, but I simply can't reference it. But I have compiled gcc within cygwin on Windows without any problems in the past. Are you running a 32-bit or 64-bit version of Windows 10? Based on the cause of the error, I am going to guess, your trying to run a 64-bit installer on a 32-bit version of Windows 10.

    – Ramhound
    Apr 15 '16 at 15:13





















  • I have no problem installing gcc within cygwin on my Windows 10 machine. This error mean something else entirely.. The file you are running at the command prompt is a Windows executable you do realize that right?

    – Ramhound
    Apr 15 '16 at 14:59











  • yeah of course...but i do it in windows cmd - so why not? I do execatly what is suggest at the link i posted.

    – user69453
    Apr 15 '16 at 15:06











  • The site doesn't work for me.

    – Ramhound
    Apr 15 '16 at 15:08











  • Works fine with MS Edge and Google Chrome.

    – user69453
    Apr 15 '16 at 15:09











  • Site does not work for me, I know the reason, but I simply can't reference it. But I have compiled gcc within cygwin on Windows without any problems in the past. Are you running a 32-bit or 64-bit version of Windows 10? Based on the cause of the error, I am going to guess, your trying to run a 64-bit installer on a 32-bit version of Windows 10.

    – Ramhound
    Apr 15 '16 at 15:13



















I have no problem installing gcc within cygwin on my Windows 10 machine. This error mean something else entirely.. The file you are running at the command prompt is a Windows executable you do realize that right?

– Ramhound
Apr 15 '16 at 14:59





I have no problem installing gcc within cygwin on my Windows 10 machine. This error mean something else entirely.. The file you are running at the command prompt is a Windows executable you do realize that right?

– Ramhound
Apr 15 '16 at 14:59













yeah of course...but i do it in windows cmd - so why not? I do execatly what is suggest at the link i posted.

– user69453
Apr 15 '16 at 15:06





yeah of course...but i do it in windows cmd - so why not? I do execatly what is suggest at the link i posted.

– user69453
Apr 15 '16 at 15:06













The site doesn't work for me.

– Ramhound
Apr 15 '16 at 15:08





The site doesn't work for me.

– Ramhound
Apr 15 '16 at 15:08













Works fine with MS Edge and Google Chrome.

– user69453
Apr 15 '16 at 15:09





Works fine with MS Edge and Google Chrome.

– user69453
Apr 15 '16 at 15:09













Site does not work for me, I know the reason, but I simply can't reference it. But I have compiled gcc within cygwin on Windows without any problems in the past. Are you running a 32-bit or 64-bit version of Windows 10? Based on the cause of the error, I am going to guess, your trying to run a 64-bit installer on a 32-bit version of Windows 10.

– Ramhound
Apr 15 '16 at 15:13







Site does not work for me, I know the reason, but I simply can't reference it. But I have compiled gcc within cygwin on Windows without any problems in the past. Are you running a 32-bit or 64-bit version of Windows 10? Based on the cause of the error, I am going to guess, your trying to run a 64-bit installer on a 32-bit version of Windows 10.

– Ramhound
Apr 15 '16 at 15:13












1 Answer
1






active

oldest

votes


















0














This app can't run on your PC



cd C:cygwin
cd C:cygwinsetup-x86_64.exe -q -P wget -P gcc-g++ -P make -P diffutils -P libmpfr-devel -P libgmp-devel -P libmpc-devel


The above command makes no sense. It shouldn't start with cd as you are already in the correct directory.



Try the following commands (which work here):



cd C:cygwin
setup-x86_64.exe -q -P wget -P gcc-g++ -P make -P diffutils -P libmpfr-devel -P libgmp-devel -P libmpc-devel


Note:




  • This assumes you have a 64 bit version of Windows.


  • If you have a 32 version of Windows you need to download the 32 bit version of Cygwin, which has a different installer.




The most recent version of the Cygwin DLL is 2.5.0. Install it by running setup-x86.exe (32-bit installation) or setup-x86_64.exe (64-bit installation).




Source This is the home of the Cygwin project






share|improve this answer
























  • The second cd was copy-paste error... I did it the way you described it, and I have a 64 Bit machine running 64 Bit Windows 10.

    – user69453
    Apr 15 '16 at 15:39











  • @user69453 Try installing from an Admin account.

    – DavidPostill
    Apr 15 '16 at 16:27











  • I have cygwin 6.1 installed on my Windows 7 64 bit, it says gcc-core and gcc-g++ had download errors as can be seen in this image. I suppose this is because my proxy server requires authentication. Where do I specify username and password for the proxy for cygwin setup? (Today only I installed python3 on cygwin and it did not gave any such error, so I was guessing what might have gone wrong, but I still feel its proxy authentication.)

    – Mahesha999
    Jun 19 '18 at 11:36











  • @Mahesha999 See Chapter 2. Setting Up Cygwin "Connection Method - The Direct Connection method of downloading will directly connect. If your system is configured to use a proxy server or auto-configuration scripts, the Use System Proxy Settings method uses those settings. Alternatively, you can manually enter proxy settings into the Use HTTP/FTP Proxy section. "

    – DavidPostill
    Jun 19 '18 at 17:14










protected by Community Jun 7 '17 at 21:37



Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



Would you like to answer one of these unanswered questions instead?














1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














This app can't run on your PC



cd C:cygwin
cd C:cygwinsetup-x86_64.exe -q -P wget -P gcc-g++ -P make -P diffutils -P libmpfr-devel -P libgmp-devel -P libmpc-devel


The above command makes no sense. It shouldn't start with cd as you are already in the correct directory.



Try the following commands (which work here):



cd C:cygwin
setup-x86_64.exe -q -P wget -P gcc-g++ -P make -P diffutils -P libmpfr-devel -P libgmp-devel -P libmpc-devel


Note:




  • This assumes you have a 64 bit version of Windows.


  • If you have a 32 version of Windows you need to download the 32 bit version of Cygwin, which has a different installer.




The most recent version of the Cygwin DLL is 2.5.0. Install it by running setup-x86.exe (32-bit installation) or setup-x86_64.exe (64-bit installation).




Source This is the home of the Cygwin project






share|improve this answer
























  • The second cd was copy-paste error... I did it the way you described it, and I have a 64 Bit machine running 64 Bit Windows 10.

    – user69453
    Apr 15 '16 at 15:39











  • @user69453 Try installing from an Admin account.

    – DavidPostill
    Apr 15 '16 at 16:27











  • I have cygwin 6.1 installed on my Windows 7 64 bit, it says gcc-core and gcc-g++ had download errors as can be seen in this image. I suppose this is because my proxy server requires authentication. Where do I specify username and password for the proxy for cygwin setup? (Today only I installed python3 on cygwin and it did not gave any such error, so I was guessing what might have gone wrong, but I still feel its proxy authentication.)

    – Mahesha999
    Jun 19 '18 at 11:36











  • @Mahesha999 See Chapter 2. Setting Up Cygwin "Connection Method - The Direct Connection method of downloading will directly connect. If your system is configured to use a proxy server or auto-configuration scripts, the Use System Proxy Settings method uses those settings. Alternatively, you can manually enter proxy settings into the Use HTTP/FTP Proxy section. "

    – DavidPostill
    Jun 19 '18 at 17:14
















0














This app can't run on your PC



cd C:cygwin
cd C:cygwinsetup-x86_64.exe -q -P wget -P gcc-g++ -P make -P diffutils -P libmpfr-devel -P libgmp-devel -P libmpc-devel


The above command makes no sense. It shouldn't start with cd as you are already in the correct directory.



Try the following commands (which work here):



cd C:cygwin
setup-x86_64.exe -q -P wget -P gcc-g++ -P make -P diffutils -P libmpfr-devel -P libgmp-devel -P libmpc-devel


Note:




  • This assumes you have a 64 bit version of Windows.


  • If you have a 32 version of Windows you need to download the 32 bit version of Cygwin, which has a different installer.




The most recent version of the Cygwin DLL is 2.5.0. Install it by running setup-x86.exe (32-bit installation) or setup-x86_64.exe (64-bit installation).




Source This is the home of the Cygwin project






share|improve this answer
























  • The second cd was copy-paste error... I did it the way you described it, and I have a 64 Bit machine running 64 Bit Windows 10.

    – user69453
    Apr 15 '16 at 15:39











  • @user69453 Try installing from an Admin account.

    – DavidPostill
    Apr 15 '16 at 16:27











  • I have cygwin 6.1 installed on my Windows 7 64 bit, it says gcc-core and gcc-g++ had download errors as can be seen in this image. I suppose this is because my proxy server requires authentication. Where do I specify username and password for the proxy for cygwin setup? (Today only I installed python3 on cygwin and it did not gave any such error, so I was guessing what might have gone wrong, but I still feel its proxy authentication.)

    – Mahesha999
    Jun 19 '18 at 11:36











  • @Mahesha999 See Chapter 2. Setting Up Cygwin "Connection Method - The Direct Connection method of downloading will directly connect. If your system is configured to use a proxy server or auto-configuration scripts, the Use System Proxy Settings method uses those settings. Alternatively, you can manually enter proxy settings into the Use HTTP/FTP Proxy section. "

    – DavidPostill
    Jun 19 '18 at 17:14














0












0








0







This app can't run on your PC



cd C:cygwin
cd C:cygwinsetup-x86_64.exe -q -P wget -P gcc-g++ -P make -P diffutils -P libmpfr-devel -P libgmp-devel -P libmpc-devel


The above command makes no sense. It shouldn't start with cd as you are already in the correct directory.



Try the following commands (which work here):



cd C:cygwin
setup-x86_64.exe -q -P wget -P gcc-g++ -P make -P diffutils -P libmpfr-devel -P libgmp-devel -P libmpc-devel


Note:




  • This assumes you have a 64 bit version of Windows.


  • If you have a 32 version of Windows you need to download the 32 bit version of Cygwin, which has a different installer.




The most recent version of the Cygwin DLL is 2.5.0. Install it by running setup-x86.exe (32-bit installation) or setup-x86_64.exe (64-bit installation).




Source This is the home of the Cygwin project






share|improve this answer













This app can't run on your PC



cd C:cygwin
cd C:cygwinsetup-x86_64.exe -q -P wget -P gcc-g++ -P make -P diffutils -P libmpfr-devel -P libgmp-devel -P libmpc-devel


The above command makes no sense. It shouldn't start with cd as you are already in the correct directory.



Try the following commands (which work here):



cd C:cygwin
setup-x86_64.exe -q -P wget -P gcc-g++ -P make -P diffutils -P libmpfr-devel -P libgmp-devel -P libmpc-devel


Note:




  • This assumes you have a 64 bit version of Windows.


  • If you have a 32 version of Windows you need to download the 32 bit version of Cygwin, which has a different installer.




The most recent version of the Cygwin DLL is 2.5.0. Install it by running setup-x86.exe (32-bit installation) or setup-x86_64.exe (64-bit installation).




Source This is the home of the Cygwin project







share|improve this answer












share|improve this answer



share|improve this answer










answered Apr 15 '16 at 15:23









DavidPostillDavidPostill

108k27235270




108k27235270













  • The second cd was copy-paste error... I did it the way you described it, and I have a 64 Bit machine running 64 Bit Windows 10.

    – user69453
    Apr 15 '16 at 15:39











  • @user69453 Try installing from an Admin account.

    – DavidPostill
    Apr 15 '16 at 16:27











  • I have cygwin 6.1 installed on my Windows 7 64 bit, it says gcc-core and gcc-g++ had download errors as can be seen in this image. I suppose this is because my proxy server requires authentication. Where do I specify username and password for the proxy for cygwin setup? (Today only I installed python3 on cygwin and it did not gave any such error, so I was guessing what might have gone wrong, but I still feel its proxy authentication.)

    – Mahesha999
    Jun 19 '18 at 11:36











  • @Mahesha999 See Chapter 2. Setting Up Cygwin "Connection Method - The Direct Connection method of downloading will directly connect. If your system is configured to use a proxy server or auto-configuration scripts, the Use System Proxy Settings method uses those settings. Alternatively, you can manually enter proxy settings into the Use HTTP/FTP Proxy section. "

    – DavidPostill
    Jun 19 '18 at 17:14



















  • The second cd was copy-paste error... I did it the way you described it, and I have a 64 Bit machine running 64 Bit Windows 10.

    – user69453
    Apr 15 '16 at 15:39











  • @user69453 Try installing from an Admin account.

    – DavidPostill
    Apr 15 '16 at 16:27











  • I have cygwin 6.1 installed on my Windows 7 64 bit, it says gcc-core and gcc-g++ had download errors as can be seen in this image. I suppose this is because my proxy server requires authentication. Where do I specify username and password for the proxy for cygwin setup? (Today only I installed python3 on cygwin and it did not gave any such error, so I was guessing what might have gone wrong, but I still feel its proxy authentication.)

    – Mahesha999
    Jun 19 '18 at 11:36











  • @Mahesha999 See Chapter 2. Setting Up Cygwin "Connection Method - The Direct Connection method of downloading will directly connect. If your system is configured to use a proxy server or auto-configuration scripts, the Use System Proxy Settings method uses those settings. Alternatively, you can manually enter proxy settings into the Use HTTP/FTP Proxy section. "

    – DavidPostill
    Jun 19 '18 at 17:14

















The second cd was copy-paste error... I did it the way you described it, and I have a 64 Bit machine running 64 Bit Windows 10.

– user69453
Apr 15 '16 at 15:39





The second cd was copy-paste error... I did it the way you described it, and I have a 64 Bit machine running 64 Bit Windows 10.

– user69453
Apr 15 '16 at 15:39













@user69453 Try installing from an Admin account.

– DavidPostill
Apr 15 '16 at 16:27





@user69453 Try installing from an Admin account.

– DavidPostill
Apr 15 '16 at 16:27













I have cygwin 6.1 installed on my Windows 7 64 bit, it says gcc-core and gcc-g++ had download errors as can be seen in this image. I suppose this is because my proxy server requires authentication. Where do I specify username and password for the proxy for cygwin setup? (Today only I installed python3 on cygwin and it did not gave any such error, so I was guessing what might have gone wrong, but I still feel its proxy authentication.)

– Mahesha999
Jun 19 '18 at 11:36





I have cygwin 6.1 installed on my Windows 7 64 bit, it says gcc-core and gcc-g++ had download errors as can be seen in this image. I suppose this is because my proxy server requires authentication. Where do I specify username and password for the proxy for cygwin setup? (Today only I installed python3 on cygwin and it did not gave any such error, so I was guessing what might have gone wrong, but I still feel its proxy authentication.)

– Mahesha999
Jun 19 '18 at 11:36













@Mahesha999 See Chapter 2. Setting Up Cygwin "Connection Method - The Direct Connection method of downloading will directly connect. If your system is configured to use a proxy server or auto-configuration scripts, the Use System Proxy Settings method uses those settings. Alternatively, you can manually enter proxy settings into the Use HTTP/FTP Proxy section. "

– DavidPostill
Jun 19 '18 at 17:14





@Mahesha999 See Chapter 2. Setting Up Cygwin "Connection Method - The Direct Connection method of downloading will directly connect. If your system is configured to use a proxy server or auto-configuration scripts, the Use System Proxy Settings method uses those settings. Alternatively, you can manually enter proxy settings into the Use HTTP/FTP Proxy section. "

– DavidPostill
Jun 19 '18 at 17:14





protected by Community Jun 7 '17 at 21:37



Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



Would you like to answer one of these unanswered questions instead?



Popular posts from this blog

"Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

Alcedinidae

RAC Tourist Trophy