From 164d0b2e83be39de1803d838594f6d3c547dc7c3 Mon Sep 17 00:00:00 2001 From: Patrick Lodder Date: Tue, 20 Jul 2021 20:55:16 +0200 Subject: [PATCH] depends: Add required packages to build --- depends/README.md | 49 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/depends/README.md b/depends/README.md index 6053c531b..07f65d971 100644 --- a/depends/README.md +++ b/depends/README.md @@ -1,3 +1,51 @@ +### 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 +``` + +#### ARM7 32bit: arm-linux-gnueabihf + +``` +sudo apt-get install g++-arm-linux-gnueabihf g++-4.8-arm-linux-gnueabihf \ + gcc-4.8-arm-linux-gnueabihf binutils-arm-linux-gnueabihf +``` + +#### ARM 64bit: aarch64-linux-gnu + +``` +sudo apt-get install g++-aarch64-linux-gnu g++-4.8-aarch64-linux-gnu \ + gcc-4.8-aarch64-linux-gnu binutils-aarch64-linux-gnu +``` + +#### 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: @@ -56,4 +104,3 @@ Additional targets: - [description.md](description.md): General description of the depends system - [packages.md](packages.md): Steps for adding packages -