MinGW shell cannot find gcc, g++ and others
Tired of fixing PATH every time you run the MinGW shell? Solution is easy. Navigate to %YOUR\_MINGW\_DIR%\msys\1.0\etc
and rename fstab.sample
to fstab
. Restart your MinGW shell. Your /mingw/
path now will be bind to C:\MinGW
.
In case you are wondering where is MinGW shell, it is %YOUR\_MINGW\_DIR%\msys\1.0\msys.bat
MinGW is usually installed on C:\MinGW
.
You are welcome.
Comments