Skip to content

Commit b99d94a

Browse files
InhumanPerfectionUdjinM6
authored andcommitted
Minor build documentation updates (#2343)
* update fedora required packages * fix ccache path * fix formatting * glibc back compat
1 parent 6867827 commit b99d94a

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

doc/build-generic.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ Please replace `<host>` with your local system's `host-platform-triplet`. The fo
5656
If you want to cross-compile for another platform, choose the appropriate `<host>` and make sure to build the
5757
dependencies with the same host before.
5858

59+
If you want to build for the same host but different distro, add `--enable-glibc-back-compat` when calling `./configure`.
60+
5961

6062
ccache
6163
------
@@ -67,7 +69,7 @@ The default maximum cache size is 5G, which might not be enough to cache multipl
6769
very often. It is advised to increase the maximum cache size:
6870

6971
```bash
70-
$ ./depends/<host>/bin/ccache -M20G
72+
$ ./depends/<host>/native/bin/ccache -M20G
7173
```
7274

7375
Additional Configure Flags

doc/build-unix.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,22 @@ Building the dependencies and Dash Core requires some essential build tools and
1010

1111
Run the following commands to install required packages:
1212

13-
#####Debian/Ubuntu:
13+
##### Debian/Ubuntu:
1414
```bash
1515
$ sudo apt-get install curl build-essential libtool autotools-dev automake pkg-config python3 bsdmainutils cmake
1616
```
1717

18-
#####Fedora:
18+
##### Fedora:
1919
```bash
20-
$ sudo dnf install gcc-c++ libtool make autoconf automake python3 cmake
20+
$ sudo dnf install gcc-c++ libtool make autoconf automake python3 cmake libstdc++-static patch
2121
```
2222

23-
#####Arch Linux
23+
##### Arch Linux:
2424
```bash
2525
$ pacman -S base-devel python3 cmake
2626
```
2727

28-
#####FreeBSD/OpenBSD
28+
##### FreeBSD/OpenBSD:
2929
```bash
3030
pkg_add gmake cmake libtool
3131
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
141141
$ ./autogen.sh
142142
$ ./configure --prefix=<prefix> CC=egcc CXX=eg++ CPP=ecpp
143143
$ gmake # do not use -jX, this is broken
144-
```
144+
```

0 commit comments

Comments
 (0)