Skip to content

Commit

Permalink
Minor build documentation updates (#2343)
Browse files Browse the repository at this point in the history
* update fedora required packages

* fix ccache path

* fix formatting

* glibc back compat
  • Loading branch information
InhumanPerfection authored and UdjinM6 committed Oct 15, 2018
1 parent 6867827 commit b99d94a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
4 changes: 3 additions & 1 deletion doc/build-generic.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
------
Expand All @@ -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
Expand Down
12 changes: 6 additions & 6 deletions doc/build-unix.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
```
```

0 comments on commit b99d94a

Please sign in to comment.