mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
Minor build documentation updates (#2343)
* update fedora required packages * fix ccache path * fix formatting * glibc back compat
This commit is contained in:
parent
6867827a53
commit
b99d94a0f4
@ -56,6 +56,8 @@ Please replace `<host>` with your local system's `host-platform-triplet`. The fo
|
||||
If you want to cross-compile for another platform, choose the appropriate `<host>` and make sure to build the
|
||||
dependencies with the same host before.
|
||||
|
||||
If you want to build for the same host but different distro, add `--enable-glibc-back-compat` when calling `./configure`.
|
||||
|
||||
|
||||
ccache
|
||||
------
|
||||
@ -67,7 +69,7 @@ The default maximum cache size is 5G, which might not be enough to cache multipl
|
||||
very often. It is advised to increase the maximum cache size:
|
||||
|
||||
```bash
|
||||
$ ./depends/<host>/bin/ccache -M20G
|
||||
$ ./depends/<host>/native/bin/ccache -M20G
|
||||
```
|
||||
|
||||
Additional Configure Flags
|
||||
|
@ -10,22 +10,22 @@ Building the dependencies and Dash Core requires some essential build tools and
|
||||
|
||||
Run the following commands to install required packages:
|
||||
|
||||
#####Debian/Ubuntu:
|
||||
##### Debian/Ubuntu:
|
||||
```bash
|
||||
$ sudo apt-get install curl build-essential libtool autotools-dev automake pkg-config python3 bsdmainutils cmake
|
||||
```
|
||||
|
||||
#####Fedora:
|
||||
##### Fedora:
|
||||
```bash
|
||||
$ sudo dnf install gcc-c++ libtool make autoconf automake python3 cmake
|
||||
$ sudo dnf install gcc-c++ libtool make autoconf automake python3 cmake libstdc++-static patch
|
||||
```
|
||||
|
||||
#####Arch Linux
|
||||
##### Arch Linux:
|
||||
```bash
|
||||
$ pacman -S base-devel python3 cmake
|
||||
```
|
||||
|
||||
#####FreeBSD/OpenBSD
|
||||
##### FreeBSD/OpenBSD:
|
||||
```bash
|
||||
pkg_add gmake cmake libtool
|
||||
pkg_add autoconf # (select highest version, e.g. 2.69)
|
||||
@ -141,4 +141,4 @@ $ export AUTOMAKE_VERSION=1.15 # replace this with the automake version that you
|
||||
$ ./autogen.sh
|
||||
$ ./configure --prefix=<prefix> CC=egcc CXX=eg++ CPP=ecpp
|
||||
$ gmake # do not use -jX, this is broken
|
||||
```
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user