Is there an offline MinGW installer?

2019-01-22 14:11发布

I am learning C and I want to install MinGW on my laptop. The MinGW installer is a web-installer, it requires the computer to have access to the internet when installing. But the problem is that my computer's not connected to the internet. So it can't be installed.

So I am thinking of downloading the complete offline installer on my smart-phone and transfering it to my PC through blue-tooth.

I have already tried TDM-GCC, but even that requires me to download somthing.

So is there an offline installer to MinGW? If yes where can I get it?

2条回答
干净又极端
2楼-- · 2019-01-22 14:23

You can download it from link : https://github.com/jonasstrandstedt/MinGW You need to extract the MinGW folder in C:\ eg: c:\MinGW . Then what you need to follow the steps given in the link above. In CodeBlock IDE go to settings>compiler>Tochain Executables. There you need to click on auto detect or specify the folder manually.

查看更多
该账号已被封号
3楼-- · 2019-01-22 14:39

I did not find an offline installer for MinGW,but instead I found a better Windows port; which is MinGW-W64

From http://mingw-w64.yaxm.org/doku.php:

Mingw-w64 is an advancement of the original mingw.org project, created to support the GCC compiler on Windows systems. It has forked it in 2007 in order to provide support for 64 bits and new APIs. It has since then gained widespread use and distribution.

Now to answer this question: it has to be mannually installed by downloading the zip file. It won't require additional download.

查看更多
登录 后发表回答