Skip to content

Commit

Permalink
Docs/installation: Fix code indentation
Browse files Browse the repository at this point in the history
Update FreeBSD line to include CXX as well as CC.
Drop unneeded todo.
  • Loading branch information
KrystalDelusion committed Dec 4, 2024
1 parent 0aef782 commit a7ea375
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions docs/source/getting_started/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -125,26 +125,24 @@ or MacPorts:

.. code:: console
sudo port install bison flex readline gawk libffi graphviz \
sudo port install bison flex readline gawk libffi graphviz \
pkgconfig python36 boost zlib tcl
.. todo:: Is there a console alternative that has the # prefix instead of $?

On FreeBSD use the following command to install all prerequisites:

.. code:: console
pkg install bison flex readline gawk libffi graphviz \
pkg install bison flex readline gawk libffi graphviz \
pkgconf python3 python36 tcl-wrapper boost-libs
.. note:: On FreeBSD system use gmake instead of make. To run tests use:
``MAKE=gmake CC=cc gmake test``
``MAKE=gmake CXX=cxx CC=cc gmake test``

For Cygwin use the following command to install all prerequisites, or select these additional packages:

.. code::
setup-x86_64.exe -q --packages=bison,flex,gcc-core,gcc-g++,git,libffi-devel,libreadline-devel,make,pkg-config,python3,tcl-devel,boost-build,zlib-devel
setup-x86_64.exe -q --packages=bison,flex,gcc-core,gcc-g++,git,libffi-devel,libreadline-devel,make,pkg-config,python3,tcl-devel,boost-build,zlib-devel
Build configuration
^^^^^^^^^^^^^^^^^^^
Expand Down Expand Up @@ -210,8 +208,8 @@ To use a separate (out-of-tree) build directory, provide a path to the Makefile.

.. code:: console
mkdir build; cd build
make -f ../Makefile
mkdir build; cd build
make -f ../Makefile
Out-of-tree builds require a clean source tree.

Expand Down

0 comments on commit a7ea375

Please sign in to comment.