From a7ea375cfced4b71763f22d98621884d206d8f55 Mon Sep 17 00:00:00 2001 From: Krystine Sherwin <93062060+KrystalDelusion@users.noreply.github.com> Date: Thu, 5 Dec 2024 09:21:13 +1300 Subject: [PATCH] Docs/installation: Fix code indentation Update FreeBSD line to include CXX as well as CC. Drop unneeded todo. --- docs/source/getting_started/installation.rst | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/docs/source/getting_started/installation.rst b/docs/source/getting_started/installation.rst index 5c20955c5..90e14333c 100644 --- a/docs/source/getting_started/installation.rst +++ b/docs/source/getting_started/installation.rst @@ -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 ^^^^^^^^^^^^^^^^^^^ @@ -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.