aboutsummaryrefslogtreecommitdiffstats
path: root/doc/building/gcc/Windows-MinGW-GNAT.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/building/gcc/Windows-MinGW-GNAT.rst')
-rw-r--r--doc/building/gcc/Windows-MinGW-GNAT.rst30
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/building/gcc/Windows-MinGW-GNAT.rst b/doc/building/gcc/Windows-MinGW-GNAT.rst
new file mode 100644
index 000000000..0ba1526bb
--- /dev/null
+++ b/doc/building/gcc/Windows-MinGW-GNAT.rst
@@ -0,0 +1,30 @@
+.. _BUILD:gcc:Windows-MinGW-GNAT:
+
+GHDL with GCC backend build on Windows with GCC/GNAT (MinGW)
+############################################################
+
+.. TODO::
+ Under investigation on how to build that beast.
+
+.. #
+ 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/local`` or ``/opt/ghdl``). Without any
+ other option, ``configure`` select `mcode` as backend.
+
+ * Next, ``make`` starts the compilation process.
+
+ * Finally, ``make install`` installs GHDL into the installation directory
+ specified by ``PREFIX``.
+
+ .. rubric:: Example:
+
+ .. code-block:: Bash
+
+ cd <ghdl>
+ mkdir build
+ cd build
+ ../configure --prefix=PREFIX
+ make
+ make install