Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 8 additions & 17 deletions doc/build-unix.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Licenses of statically linked libraries:
- Boost 1.37
- miniupnpc 1.6

Dependency Build Instructions: Ubuntu & Debian
Dependency Build Instructions: Ubuntu, Debian & Gentoo
----------------------------------------------
Build requirements:

Expand All @@ -66,6 +66,10 @@ for Ubuntu 12.04:

Ubuntu precise has packages for libdb5.1-dev and libdb5.1++-dev,
but using these will break binary wallet compatibility, and is not recommended.

for Gentoo:

emerge datacoin-hp

for other Ubuntu & Debian:

Expand All @@ -78,22 +82,6 @@ Optional:

sudo apt-get install libminiupnpc-dev (see USE_UPNP compile flag)


Dependency Build Instructions: Gentoo
-------------------------------------

Note: If you just want to install bitcoind on Gentoo, you can add the Bitcoin overlay and use your package manager:

layman -a bitcoin && emerge bitcoind
emerge -av1 --noreplace boost glib openssl sys-libs/db:4.8

Take the following steps to build (no UPnP support):

cd ${BITCOIN_DIR}/src
make -f makefile.unix USE_UPNP= USE_IPV6=1 BDB_INCLUDE_PATH='/usr/include/db4.8'
strip bitcoind


Notes
-----
The release is built with GCC and then "strip bitcoind" to strip the debug
Expand Down Expand Up @@ -144,6 +132,9 @@ exploit even if a vulnerability is found, you can take the following measures:
To build with PIE, use:

make -f makefile.unix ... -e PIE=1

Note: To build with PIE in Gentoo Linux enable the 'hardened' USE flag. see man portage for info.


To test that you have built PIE executable, install scanelf, part of paxutils, and use:

Expand Down