Changes between Version 28 and Version 29 of CompilationGuide/MinGW


Ignore:
Timestamp:
May 6, 2015, 11:55:11 AM (4 years ago)
Author:
saste
Comment:

add more notes about setting up the MinGW environment

Legend:

Unmodified
Added
Removed
Modified
  • CompilationGuide/MinGW

    v28 v29  
    3434
    3535Once you install MinGW you should see in the Windows menu the "MinGW"
    36 entry with the option "MinGW shell".
    37 Click on it and it will launch a terminal with a bash shell. This is
     36entry with the option "MinGW shell". Click on it and it will launch a terminal with a bash shell. This is
    3837supposed to be a GNU/Unix environment, and you're supposed to know a
    39 bit of UNIX commands for getting through it.
     38bit of UNIX commands for getting through it. Alternatively, or in case the MinGW entry is missing, you need to manually
     39launch the MINGW_PATH/msys/1.0/msys.bat file.
    4040
    4141MinGW adopts a mounting mechanism to make Windows directories appear like
     
    4444guide, when not explicitly specified, we'll use the UNIX mapped
    4545paths.
     46
     47Note that by default the user home will be placed in MINGW_PATH/msys/1.0/home/USER,
     48and that will be your working directory of the msys shell.
     49
     50Finally, you need to edit the system environment {{{Path}}} variable, adding the MINGW_PATH/bin directory. This will allow both the system
     51and the msys shell to find programs provided by MinGW. This can be done for example with:
     52{{{
     53Control Panel -> System -> Advanced -> Edit Environment Variables   
     54}}}
    4655
    4756=== mingw-w64 ===