Development Environment Setup on Windows
Setting Up RISC-V Development Environment for RV32M1-VEGA, User’s Guide, Rev. 0
www.open-isa.org
7
2.8 Install MinGW for Command Line Mode
The Minimalist GNU for Windows (MinGW) development tools provide a set of tools that are not
dependent on third party C-Runtime DLLs (such as Cygwin). The build environment used by the SDK
does not utilize the MinGW build tools but does leverage the base install of both MinGW and MSYS.
MSYS provides a basic shell with a Unix-like interface and tools.
1.
Download the latest MinGW mingw-get-setup installer from
sourceforge.net/projects/mingw/files/Installer/
2.
Run the installer. The recommended installation path is C:\MinGW, however, you may install to any
location. Note:
the installation path cannot contain any spaces
.
3.
Ensure that the “mingw32-base” and “msys-base” are selected under Basic Setup
Figure 6
.
Figure 6. Setup MinGW and MSYS
4.
Click “Apply Changes” in the “Installation” menu and follow the remaining instructions to complete
the installation as showed in the
Figure 7
.
Figure 7. Complete MinGW and MSYS installation
5.
Add
<mingw_install_dir>\bin
to PATH environment variable.