MinGW Installation checklist (win32)

This is a discussion on MinGW Installation checklist (win32) within the Tech Board forums, part of the Community Boards category; I've decided to uninstall MinGW and do a manual installation this time for a win32 machine. My first time doing ...

  1. #1
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,578

    MinGW Installation checklist (win32)

    I've decided to uninstall MinGW and do a manual installation this time for a win32 machine. My first time doing it this way. I need your help determining if I'm missing anything.

    Downloaded and installed the following packages:

    Code:
    gcc-core-3.4.2
    gcc-g++-3.4.2
    w32api-3.6
    binutils-2.15.91-20040904-1
    mingw-runtime-3.9
    mingw-utils-0.3
    mingw32-make-3.80.0-3
    
    and also,
    
    gdb-5.2.1-1
    The above is pretty much a standard installation, correct? Anything I should add?

    Where I do have doubts is:

    Do I need MSYS? I'm not sure I can understand what exactly is MSYS. This is probably an indicator I don't need it...

    Planning on using Code::Blocks with this. However, if I want to compile from the command prompt, are \lib, \include, and \bin, the only I need to add to my PATH environment var?

    What is the difference between c++ and g++?
    Last edited by Mario F.; 06-24-2006 at 12:30 PM.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    22,265
    Do I need MSYS? I'm not sure I can understand what exactly is MSYS.
    MSYS provides an environment in which configure scripts can be run. If you arent going to run any configure scripts, you dont need MSYS.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,578
    Hmm... I'm not sure I understood. Configuration scripts as in makefile configuration scripts?
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  4. #4
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    22,265
    Configuration scripts as in makefile configuration scripts?
    Pretty much yes. You can read What is MSYS?.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  5. #5
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,578
    Yes, I have before. But I'm afraid I couldn't make much of it. The language used baffles me.

    The understanding (still limited) I have of a makefile is that it carries with it instructions on how to compile and link a project. An associated executable (make.exe) that knows how to parse this file, can then run the script and build my project. This is useful when working in a team or when ditributing projects.

    Why I want a shell to do this is beyond me.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  6. #6
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    There is a later version of 'win32api' (w32api-3.7.tar.gz) available. Looks like there's a new release of mingw32-make, too (mingw32-make-3.81-1.tar.gz). See www.mingw.org for details.

    You shouldn't have to amend your path environment variables if you use code::blocks with mingw or any other decent ide; just configure the ide to point to the relevant directories(settings menu --> compiler and debugger).

    If you want an stl implementation for mingw that supports wide characters then you might find stlport of some interest(BTW, building it is a lot simpler with msys than without it).
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. MinGW Installation
    By Neo1 in forum Tech Board
    Replies: 4
    Last Post: 05-29-2007, 03:10 PM
  2. Win32 API or Win32 SDK?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 07-20-2005, 04:26 PM
  3. Win32 Thread Object Model Revisted
    By Codeplug in forum Windows Programming
    Replies: 5
    Last Post: 12-15-2004, 08:50 AM
  4. Alternative win32 compiler? And linking asm libs?
    By JMB in forum C++ Programming
    Replies: 4
    Last Post: 10-11-2002, 02:22 PM
  5. OLE Clipboard :: Win32 API vs. MFC
    By kuphryn in forum Windows Programming
    Replies: 3
    Last Post: 08-11-2002, 06:57 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21