diff options
author | 1138-4EB <1138-4EB@users.noreply.github.com> | 2019-08-31 17:32:35 +0200 |
---|---|---|
committer | tgingold <tgingold@users.noreply.github.com> | 2019-08-31 17:32:35 +0200 |
commit | b124c3926b05d7d0770989330039518c391f73cf (patch) | |
tree | ff417a3940604ca8be2f005ae0d93302afcd4519 /doc/building/mcode | |
parent | 6852a8f2b79f87ffb523f0aa4157f23540818887 (diff) | |
download | ghdl-b124c3926b05d7d0770989330039518c391f73cf.tar.gz ghdl-b124c3926b05d7d0770989330039518c391f73cf.tar.bz2 ghdl-b124c3926b05d7d0770989330039518c391f73cf.zip |
[doc] Update section 'Getting GHDL' (#906)
* doc: fix version extraction from 'configure'
* doc: update section 'Getting GHDL'
* readme: update
Diffstat (limited to 'doc/building/mcode')
-rw-r--r-- | doc/building/mcode/GNULinux-GNAT.rst | 27 | ||||
-rw-r--r-- | doc/building/mcode/Windows-GNATGPL.rst | 36 | ||||
-rw-r--r-- | doc/building/mcode/Windows-MinGW-GNAT.rst | 26 | ||||
-rw-r--r-- | doc/building/mcode/index.rst | 28 |
4 files changed, 0 insertions, 117 deletions
diff --git a/doc/building/mcode/GNULinux-GNAT.rst b/doc/building/mcode/GNULinux-GNAT.rst deleted file mode 100644 index 2d7598599..000000000 --- a/doc/building/mcode/GNULinux-GNAT.rst +++ /dev/null @@ -1,27 +0,0 @@ -.. _BUILD:mcode:GNULinux-GNAT: - -mcode Backend on GNU/Linux with GCC/GNAT -######################################## - -On Linux, GHDL is configured by ``configure`` and built 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`` selects `mcode` as the backend. - -* Next, ``make`` starts the compilation process. - -* Finally, ``make install`` installs GHDL into the installation directory - specified by ``PREFIX``. You may need super user privileges (``sudo ...``). - - -.. rubric:: Example: - -.. code-block:: Bash - - $ cd <ghdl> - $ mkdir build - $ cd build - $ ../configure --prefix=PREFIX - $ make - $ make install diff --git a/doc/building/mcode/Windows-GNATGPL.rst b/doc/building/mcode/Windows-GNATGPL.rst deleted file mode 100644 index c767343be..000000000 --- a/doc/building/mcode/Windows-GNATGPL.rst +++ /dev/null @@ -1,36 +0,0 @@ -.. _BUILD:mcode:Windows-GNATGPL: - -mcode Backend on Windows with GNAT GPL -###################################### - -Requirements -============ - -* GNAT GPL from http://libre.adacore.com -* PowerShell 4 -* PowerShell Community Extensions (PSCX) - - -Scripts and Parameters -====================== - -`compile.ps1` -------------- - -.. code-block:: plain - - Commands Description - -------------------------------------------------------------------- - -Help Display the integrated help pages - -Clean Clean up all files and directories - -Compile Compile GHDL - -Install Install all files into a directory (xcopy deployment) - -Uninstall Uninstall all files from a directory - -Update Update files in the installation directory - -CreatePackage create an installer package - - Install options: - -InstallPath Installation directory - - CreatePackage options: - -Zip Create a zip-file for xcopy deployment diff --git a/doc/building/mcode/Windows-MinGW-GNAT.rst b/doc/building/mcode/Windows-MinGW-GNAT.rst deleted file mode 100644 index f1482ccb8..000000000 --- a/doc/building/mcode/Windows-MinGW-GNAT.rst +++ /dev/null @@ -1,26 +0,0 @@ -.. _BUILD:mcode:Windows-MinGW-GNAT: - -mcode Backend on Windows with GCC/GNAT (MinGW) -############################################## - -On Windows with MinGW, GHDL is configured by ``configure`` and built 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`` selects `mcode` as the 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 diff --git a/doc/building/mcode/index.rst b/doc/building/mcode/index.rst deleted file mode 100644 index 92eeaabd4..000000000 --- a/doc/building/mcode/index.rst +++ /dev/null @@ -1,28 +0,0 @@ -.. _BUILD:mcode: - -mcode Backend -############# - -The mcode backend is available for all supported platforms and is also the -simplest procedure, because it requires the fewest dependencies and configuration -options. - - -.. rubric:: Requirements - -* GCC (Gnu Compiler Collection) -* GNAT (Ada compiler for GCC) - - -.. rubric:: Supported platforms - -* :doc:`GNULinux-GNAT` -* :doc:`Windows-GNATGPL` -* :doc:`Windows-MinGW-GNAT` - -.. toctree:: - :hidden: - - GNU/Linux with GCC/GNAT <GNULinux-GNAT> - Windows with GNAT GPL <Windows-GNATGPL> - Windows with GCC/GNAT (MinGW) <Windows-MinGW-GNAT> |