GHDL with mcode backend build on Windows with GCC/GNAT (MinGW)ΒΆ
On Windows with MinGW, GHDL is configured by configure and build by make.
- First, GHDL needs to be configured. It is common to specify a
PREFIX(installation directory like/usr/localor/opt/ghdl). Without any other option,configureselect mcode as backend. - Next,
makestarts the compilation process. - Finally,
make installinstalls GHDL into the installation directory specified byPREFIX.
Example:
cd <ghdl>
mkdir build
cd build
../configure --prefix=PREFIX
make
make install