Thread: What do I need to use mingw in Windows

  1. #1
    Registered User Joelito's Avatar
    Join Date
    Mar 2005
    Location
    Tijuana, BC, México
    Posts
    310

    Unhappy What do I need to use mingw in Windows

    I'm planning to make some applications in mingw...I ran to this site: http://sourceforge.net/project/showf...?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!
    * PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with xfce4.
    * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with xfce4.

  2. #2
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,612
    >> 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 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.

  3. #3
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    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.

  4. #4
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    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.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  5. #5
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    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.

  6. #6
    Registered User Joelito's Avatar
    Join Date
    Mar 2005
    Location
    Tijuana, BC, México
    Posts
    310
    Quote Originally Posted by cyberfish View Post
    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
    * PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with xfce4.
    * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with xfce4.

  7. #7
    In my head happyclown's Avatar
    Join Date
    Dec 2008
    Location
    In my head
    Posts
    391
    Download the free Dev C++ program. It uses the mingw compiler. It's great.

    http://www.bloodshed.net/devcpp.html
    OS: Linux Mint 13(Maya) LTS 64 bit.

  8. #8
    The larch
    Join Date
    May 2006
    Posts
    3,573
    Seeing as development of DevC++ is discontinued, does it come with the latest MinGW?
    I might be wrong.

    Thank you, anon. You sure know how to recognize different types of trees from quite a long way away.
    Quoted more than 1000 times (I hope).

  9. #9
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    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).
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  10. #10
    Ugly C Lover audinue's Avatar
    Join Date
    Jun 2008
    Location
    Indonesia
    Posts
    489
    Just GET it OFF out my mind!!

  11. #11
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    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.p...orum_id=723797

  12. #12
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by happyclown View Post
    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/mediawik...nt_Environment
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  13. #13
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    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...).

  14. #14
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Just a note for happyclown then
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  15. #15
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    Just a note for happyclown then
    Ah okay. Missed his post .

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how to make a windows application
    By crvenkapa in forum C++ Programming
    Replies: 3
    Last Post: 03-26-2007, 09:59 AM
  2. Dialog Box Problems
    By Morgul in forum Windows Programming
    Replies: 21
    Last Post: 05-31-2005, 05:48 PM
  3. dual boot Win XP, win 2000
    By Micko in forum Tech Board
    Replies: 6
    Last Post: 05-30-2005, 02:55 PM
  4. SDL and Windows
    By nickname_changed in forum Windows Programming
    Replies: 14
    Last Post: 10-24-2003, 12:19 AM
  5. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM