@@ -6,8 +6,8 @@ Some notes on how to build Bitcoin Core in Unix.
66
77Note
88---------------------
9- Always use absolute paths to configure and compile Bitcoin Core and the dependencies,
10- for example, when specifying the path of the dependency:
9+ Always use absolute paths to configure and compile Bitcoin Core and the dependencies.
10+ For example, when specifying the path of the dependency:
1111
1212 ../dist/configure --enable-cxx --disable-shared --with-pic --prefix=$BDB_PREFIX
1313
2424make install # optional
2525```
2626
27- This will build bitcoin-qt as well if the dependencies are met.
27+ This will build bitcoin-qt as well, if the dependencies are met.
2828
2929Dependencies
3030---------------------
@@ -87,11 +87,12 @@ You can add the repository and install using the following commands:
8787 sudo apt-get install libdb4.8-dev libdb4.8++-dev
8888
8989Ubuntu and Debian have their own libdb-dev and libdb++-dev packages, but these will install
90- BerkeleyDB 5.1 or later, which break binary wallet compatibility with the distributed executables which
90+ BerkeleyDB 5.1 or later. This will break binary wallet compatibility with the distributed executables, which
9191are based on BerkeleyDB 4.8. If you do not care about wallet compatibility,
9292pass ` --with-incompatible-bdb ` to configure.
9393
94- See the section "Disable-wallet mode" to build Bitcoin Core without wallet.
94+ To build Bitcoin Core without wallet, see [ * Disable-wallet mode* ] ( /doc/build-unix.md#disable-wallet-mode )
95+
9596
9697Optional (see --with-miniupnpc and --enable-upnp-default):
9798
@@ -161,15 +162,15 @@ Berkeley DB
161162-----------
162163It is recommended to use Berkeley DB 4.8. If you have to build it yourself,
163164you can use [ the installation script included in contrib/] ( /contrib/install_db4.sh )
164- like so
165+ like so:
165166
166167``` shell
167168./contrib/install_db4.sh ` pwd`
168169```
169170
170171from the root of the repository.
171172
172- ** Note** : You only need Berkeley DB if the wallet is enabled (see the section * Disable-Wallet mode* below ).
173+ ** Note** : You only need Berkeley DB if the wallet is enabled (see [ * Disable-wallet mode* ] ( /doc/build-unix.md#disable-wallet-mode ) ).
173174
174175Boost
175176-----
@@ -193,9 +194,7 @@ Hardening Flags:
193194
194195
195196Hardening enables the following features:
196-
197- * Position Independent Executable
198- Build position independent code to take advantage of Address Space Layout Randomization
197+ * _ Position Independent Executable_ : Build position independent code to take advantage of Address Space Layout Randomization
199198 offered by some kernels. Attackers who can cause execution of code at an arbitrary memory
200199 location are thwarted if they don't know where anything useful is located.
201200 The stack and heap are randomly located by default, but this allows the code section to be
@@ -213,8 +212,7 @@ Hardening enables the following features:
213212 TYPE
214213 ET_DYN
215214
216- * Non-executable Stack
217- If the stack is executable then trivial stack-based buffer overflow exploits are possible if
215+ * _ Non-executable Stack_ : If the stack is executable then trivial stack-based buffer overflow exploits are possible if
218216 vulnerable buffers are found. By default, Bitcoin Core should be built with a non-executable stack,
219217 but if one of the libraries it uses asks for an executable stack or someone makes a mistake
220218 and uses a compiler extension which requires an executable stack, it will silently build an
0 commit comments