diff options
Diffstat (limited to 'depends')
| -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: |