PDA

View Full Version : What do I need to use mingw in Windows



Joelito
01-08-2009, 09:12 AM
I'm planning to make some applications in mingw...I ran to this site: http://sourceforge.net/project/showfiles.php?group_id=2435

Now, I know I can use the Automated MinGW Installer but I need the files to be installed in a non-internet connection machine...

So, my question is: Which files do I need?

PS: I use a pendrive to carry them, just in case you were wondering how I would do that ;)

Thanks!

whiteflags
01-08-2009, 09:45 AM
>> Which files do I need?
Download both the exe and the tar.gz file to the same directory, and run the exe to install.

WinRAR (http://www.rarlabs.org) is one program that can allow you to inspect the tar.gz yourself on windows (as well as other compression formats), but this is not a necessity for installation.

cyberfish
01-08-2009, 02:11 PM
I recommend 7-Zip. Supports about the same number of formats as WinRAR, and the 7z format has compression ratios similar to that of RAR, and is free, open source, and cross-platform.

Elysia
01-08-2009, 02:36 PM
The competing format does not always have the latest and greatest support for each other...
7zip does not fully support rar. Rar does not fully support 7z.

cyberfish
01-08-2009, 03:19 PM
As for the original question, just install MinGW using the installer on a computer with Internet access, copy the C:\MinGW folder to the computer you want it installed, and add C:\MinGW\bin to $PATH.

Joelito
01-08-2009, 03:48 PM
As for the original question, just install MinGW using the installer on a computer with Internet access, copy the C:\MinGW folder to the computer you want it installed, and add C:\MinGW\bin to $PATH.
Sounds an idea :)
Thanks to all

happyclown
01-10-2009, 07:17 AM
Download the free Dev C++ program. It uses the mingw compiler. It's great.

http://www.bloodshed.net/devcpp.html

anon
01-10-2009, 07:47 AM
Seeing as development of DevC++ is discontinued, does it come with the latest MinGW?

laserlight
01-10-2009, 10:30 AM
I recall that Dev-C++ 4.9.9.2 comes with the MinGW port of gcc 3.4.2, which is not the latest stable version (I am using 3.4.5).

audinue
01-10-2009, 11:28 AM
http://gd.tuwien.ac.at/gnu/mingw/?fisel=0-9,a-z,A-Z

How about this guys? Got it from http://www.mingw.org/old/download.shtml

cyberfish
01-10-2009, 01:45 PM
I'm using 4.3.2 for 32-bit
http://nuwen.net/mingw.html

Compiled my own 4.4.0 SVN for 64-bit.
http://sourceforge.net/forum/forum.php?thread_id=2493243&forum_id=723797

Elysia
01-11-2009, 03:04 AM
Download the free Dev C++ program. It uses the mingw compiler. It's great.

http://www.bloodshed.net/devcpp.html

I would suggest another free IDE. Here is a small list of popular IDEs:
http://apps.sourceforge.net/mediawiki/cpwiki/index.php?title=Integrated_Development_Environment

cyberfish
01-11-2009, 03:20 AM
Judging by his sig, I don't think he needs help choosing an IDE :).

MinGW is not an IDE, it's just a Windows port of GCC. It's a collection of command line programs (compiler, linker, debugger...).

Elysia
01-11-2009, 03:21 AM
Just a note for happyclown then ;)

cyberfish
01-11-2009, 03:25 AM
Just a note for happyclown then

Ah okay. Missed his post :).

happyclown
01-12-2009, 04:11 PM
I would suggest another free IDE. Here is a small list of popular IDEs:
http://apps.sourceforge.net/mediawiki/cpwiki/index.php?title=Integrated_Development_Environment

Thanks for the list. :)

I downloaded M$ Visual C++ 2008 Express, and the MSDN library too. That's alot of software for free. And the amount of documentation is staggering, which is terrfic, compared to bare-bones Dev c++.

I have devoted a whole week to reading the documentation on how to actually use it to make C programs. :)

zacs7
01-12-2009, 04:38 PM
> 7zip does not fully support rar. Rar does not fully support 7z.
That's because of the moronic Rar licence. So go with 7z instead :-)

Elysia
01-13-2009, 02:36 AM
Oh yes, I always do. 7z rocks! :D
happyclown: You picked a good IDE there. Visual Studio has C/C++ capability with a very good compiler and even a debugger!