- Install MinGW to your computer, e.g. "C:\MinGW\"
- Copy "C:\MinGW\" to the USB drive "X:\MinGW\"
- Create a text file "X:\MinGW\bin\setpath.bat" with content set path=%path%;%CD%
- Run the batch file "X:\MinGW\bin\setpath.bat"
Now the bin directory of MinGW is in the search path. Now you can use the compiler gcc or other MinGW tools...
No comments:
Post a Comment