Changes between Version 12 and Version 13 of UsersWikiWinCompile


Ignore:
Timestamp:
Apr 15, 2009, 12:26:41 PM (15 years ago)
Author:
nicklas
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • UsersWikiWinCompile

    v12 v13  
    4747'''7. Update environment variable'''[[BR]]
    4848 the below is copied direct from www.mingw.org/wiki/HOWTO_Install_the_MinGW_GCC_Compiler_Suite
    49 > Environment Settings[[BR]]
    50 > When you install command line tools, such as MinGW, or GnuWin32 tools, you have to tell the command line interpreter where to find them; this is usually accomplished by adding the appropriate directory names to the PATH variable in your environment. Typically, it is your responsibility to do this; please do not expect the installer, (if you used one), to do it for you.[[BR]]
    51 > Warning: Adding entries to the PATH is normally benign. However, if you delete, you may mess up your PATH string, and you could seriously compromise the functioning of your computer. Please be careful.[[BR]]
    52 >
    53 > 1. Right-click on "My Computer" and select "Properties".
    54 > 2. Click Advanced -> Environment Variables.
    55 > 3. In the box entitled "System Variables" scroll down to the line that says "PATH" and double-click the entry.
    56 > 4. You will be presented with a dialog box with two text boxes, the bottom text box allows you to edit the PATH variable. It is very important that you do not delete the existing values in the PATH string, this will cause all sorts of problems for you!
    57 > 5. Scroll to the end of the string and at the end add ";<installation-directory>\bin". Here <installation-directory> is the full absolute path name of the installation directory; if you accepted the defaults when installing tar and gzip, then for these, it will (probably) be C:\Program Files\GnuWin32, while for MinGW it will be C:\MinGW\bin, (if you kept to the recommended default installation directory). Don't forget the semicolon; this separates the entries in the PATH.
    58 > 6. press OK -> OK -> OK and you are done.   
     49----
     50Environment Settings[[BR]]
     51When you install command line tools, such as MinGW, or GnuWin32 tools, you have to tell the command line interpreter where to find them; this is usually accomplished by adding the appropriate directory names to the PATH variable in your environment. Typically, it is your responsibility to do this; please do not expect the installer, (if you used one), to do it for you.[[BR]]
     52Warning: Adding entries to the PATH is normally benign. However, if you delete, you may mess up your PATH string, and you could seriously compromise the functioning of your computer. Please be careful.[[BR]]
    5953
    60 
     541. Right-click on "My Computer" and select "Properties".
     552. Click Advanced -> Environment Variables.
     563. In the box entitled "System Variables" scroll down to the line that says "PATH" and double-click the entry.
     574. You will be presented with a dialog box with two text boxes, the bottom text box allows you to edit the PATH variable. It is very important that you do not delete the existing values in the PATH string, this will cause all sorts of problems for you!
     585. Scroll to the end of the string and at the end add ";<installation-directory>\bin". Here <installation-directory> is the full absolute path name of the installation directory; if you accepted the defaults when installing tar and gzip, then for these, it will (probably) be C:\Program Files\GnuWin32, while for MinGW it will be C:\MinGW\bin, (if you kept to the recommended default installation directory). Don't forget the semicolon; this separates the entries in the PATH.
     596. press OK -> OK -> OK and you are done.   
     60----
    6161    15. Set the environment variable HOME to C:\msys\1.0\home
    6262