Search code examples
c++registrymakefilepathmsys

Where can I set path to make.exe on Windows?


When I try run make from cmd-console on Windows, it runs Turbo Delphi's make.exe but I need MSYS's make.exe. There is no mention about Turbo Delphi in %path% variable, maybe I can change it to MSYS in registry?


Solution

  • The path is in the registry but usually you edit through this interface:

    1. Go to Control Panel -> System -> System settings -> Environment Variables.
    2. Scroll down in system variables until you find PATH.
    3. Click edit and change accordingly.
    4. BE SURE to include a semicolon at the end of the previous as that is the delimiter, i.e. c:\path;c:\path2
    5. Launch a new console for the settings to take effect.