user4183195
user4183195

Reputation:

Is there an offline MinGW installer?

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?

Upvotes: 23

Views: 76580

Answers (3)

AaronDanielson
AaronDanielson

Reputation: 2470

The most direct answer to the question "Is there an offline MinGW installer?" is "maybe, but it would be a snapshot from the past, and it's almost certainly not up-to-date with the latest available released versions." The individual packages are made available (almost) as soon as they're released, so capturing everything in a self-contained installer is a moving target.

But, you can use the standard installer offline with a bit of prep work if you use MSYS2's pacman, which manages dependencies and grabs all the right versions for you.

The details are given in an answer to another question (https://stackoverflow.com/a/46791235/).

Upvotes: 0

Ashiq Ullah
Ashiq Ullah

Reputation: 137

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.

Upvotes: 1

user4183195
user4183195

Reputation:

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.

Upvotes: 10

Related Questions