Skip to content

Commit

Permalink
Merge pull request #3 from mgwebster/patch-1
Browse files Browse the repository at this point in the history
Update build-unix.md
Thanks.
  • Loading branch information
psycodad-bct committed Aug 19, 2017
2 parents 862913a + 5580890 commit 7934a5d
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions doc/build-unix.md
@@ -1,6 +1,6 @@
UNIX BUILD NOTES
====================
Some notes on how to build Bitcoin in Unix.
Some notes on how to build FedoraCoin on Unix.

To Build
---------------------
Expand All @@ -9,7 +9,7 @@ To Build
./configure
make

This will build bitcoin-qt as well if the dependencies are met.
This will build fedoracoin-qt as well if the dependencies are met.

Dependencies
---------------------
Expand Down Expand Up @@ -56,7 +56,7 @@ System requirements
--------------------

C++ compilers are memory-hungry. It is recommended to have at least 1 GB of
memory available when compiling Bitcoin Core. With 512MB of memory or less
memory available when compiling FedoraCoin Core. With 512MB of memory or less
compilation will take much longer due to swap thrashing.

Dependency Build Instructions: Ubuntu & Debian
Expand All @@ -71,7 +71,7 @@ for Ubuntu 12.04 and later:

sudo apt-get install libboost-all-dev

db4.8 packages are available [here](https://launchpad.net/~bitcoin/+archive/bitcoin).
db4.8 packages are available [here](https://launchpad.net/~bitcoin/+archive/
You can add the repository using the following command:

sudo add-apt-repository ppa:bitcoin/bitcoin
Expand Down Expand Up @@ -108,7 +108,7 @@ Optional:
Dependencies for the GUI: Ubuntu & Debian
-----------------------------------------

If you want to build Bitcoin-Qt, make sure that the required packages for Qt development
If you want to build FedoraCoin-Qt, make sure that the required packages for Qt development
are installed. Either Qt 4 or Qt 5 are necessary to build the GUI.
If both Qt 4 and Qt 5 are installed, Qt 4 will be used. Pass `--with-gui=qt5` to configure to choose Qt5.
To build without GUI pass `--without-gui`.
Expand All @@ -125,12 +125,12 @@ libqrencode (optional) can be installed with:

sudo apt-get install libqrencode-dev

Once these are installed, they will be found by configure and a bitcoin-qt executable will be
Once these are installed, they will be found by configure and a fedoracoin-qt executable will be
built by default.

Notes
-----
The release is built with GCC and then "strip bitcoind" to strip the debug
The release is built with GCC and then "strip fedoracoind" to strip the debug
symbols, which reduces the executable size by about 90%.


Expand Down Expand Up @@ -164,7 +164,7 @@ If you need to build Boost yourself:

Security
--------
To help make your bitcoin installation more secure by making certain attacks impossible to
To help make your fedoracoin installation more secure by making certain attacks impossible to
exploit even if a vulnerability is found, binaries are hardened by default.
This can be disabled with:

Expand Down Expand Up @@ -196,13 +196,13 @@ Hardening enables the following features:

* Non-executable Stack
If the stack is executable then trivial stack based buffer overflow exploits are possible if
vulnerable buffers are found. By default, bitcoin should be built with a non-executable stack
vulnerable buffers are found. By default, fedoracoin should be built with a non-executable stack
but if one of the libraries it uses asks for an executable stack or someone makes a mistake
and uses a compiler extension which requires an executable stack, it will silently build an
executable without the non-executable stack protection.

To verify that the stack is non-executable after compiling use:
`scanelf -e ./bitcoin`
`scanelf -e ./fedoracoin`

the output should contain:
STK/REL/PTL
Expand All @@ -212,7 +212,7 @@ Hardening enables the following features:

Disable-wallet mode
--------------------
When the intention is to run only a P2P node without a wallet, bitcoin may be compiled in
When the intention is to run only a P2P node without a wallet, fedoracoin may be compiled in
disable-wallet mode with:

./configure --disable-wallet
Expand All @@ -222,3 +222,7 @@ In this case there is no dependency on Berkeley DB 4.8.
Mining is also possible in disable-wallet mode, but only using the `getblocktemplate` RPC
call not `getwork`.

Compiling fedoracoind for server use on Ubuntu:
./autogen.sh
./configure --without-gui --without-miniupnpc --disable-tests
make

0 comments on commit 7934a5d

Please sign in to comment.