diff options
| author | Patrick Lodder <[email protected]> | 2021-07-20 22:51:27 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-07-20 22:51:27 +0200 |
| commit | 97f95559c5ed8c986bcaee3252af5bf89e014f77 (patch) | |
| tree | 8a96c3f3a080a204be3243dd2a32f3f327f1ba29 | |
| parent | Merge pull request #2410 from patricklodder/1.14.4-explicit-gui-ci (diff) | |
| parent | depends: Add required packages to build (diff) | |
| download | discoin-97f95559c5ed8c986bcaee3252af5bf89e014f77.tar.xz discoin-97f95559c5ed8c986bcaee3252af5bf89e014f77.zip | |
Merge pull request #2413 from dogecoin/revert-2342-issue-2340-depends-build-dependencies-readme
Correct #2342 - "added requirements to dependencies build README"
| -rw-r--r-- | depends/README.md | 52 |
1 files changed, 44 insertions, 8 deletions
diff --git a/depends/README.md b/depends/README.md index c6e7f55c5..07f65d971 100644 --- a/depends/README.md +++ b/depends/README.md @@ -1,16 +1,52 @@ -### Usage +### Prerequisites + +The depends system is maintained and tested using Ubuntu Trusty. Both generic +apt packages, and packages specific to the target architecture are required to +successfully compile all dependencies. Listed packages are tested and known to +work. + +#### Generic packages + +``` +sudo apt-get install autoconf automake binutils-gold ca-certificates curl \ + faketime git-core libtool pkg-config python +``` + +#### Generic linux: i686-pc-linux-gnu and x86_64-linux-gnu + +``` +sudo apt-get install g++-4.8-multilib gcc-4.8-multilib +``` -## Requirements +#### ARM7 32bit: arm-linux-gnueabihf -Before attempting to build these dependencies you should first follow the build instructions for your operating system, under the root folder: +``` +sudo apt-get install g++-arm-linux-gnueabihf g++-4.8-arm-linux-gnueabihf \ + gcc-4.8-arm-linux-gnueabihf binutils-arm-linux-gnueabihf +``` -* `doc/build-unix.md` -* `doc/build-osx.md` -* `doc/build-windows.md` +#### ARM 64bit: aarch64-linux-gnu -These contain up to date lists for each operating system. +``` +sudo apt-get install g++-aarch64-linux-gnu g++-4.8-aarch64-linux-gnu \ + gcc-4.8-aarch64-linux-gnu binutils-aarch64-linux-gnu +``` -## Build +#### Windows: i686-w64-mingw32 and x86_64-w64-mingw32 + +``` +sudo apt-get install g++ g++-mingw-w64 mingw-w64 nsis zip +``` + +#### macOS (Intel): x86_64-apple-darwin11 + +``` +sudo apt-get install g++ cmake imagemagick fonts-tuffy libz-dev libbz2-dev \ + libcap-dev librsvg2-bin libtiff-tools python python-dev \ + python-setuptools +``` + +### Usage To build dependencies for the current arch+OS: |