From 47be3441b03de39faff9feb8b11f5659acb53e16 Mon Sep 17 00:00:00 2001 From: Jonas Schnelli Date: Fri, 22 Dec 2017 09:49:07 -1000 Subject: [PATCH] Merge #11903: [trivial] Add required package dependencies for depends cross compilation 31a013563 Add required package dependencies for depends cross compilation [skip-ci] (Jonas Schnelli) Pull request description: Stumbled over this during a setup of a new depends compile system. Related to #8913. Tree-SHA512: 67e2fdf9ca3cbedeb02982fa73771dd36978b319e9291ea5a41ede7fdf772c4505ccc9523b48fe66ead927f141efefbdf1e3eaa19a9d8a1304861a8ede040056 --- depends/README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/depends/README.md b/depends/README.md index 5209c29104..dc4121a6f7 100644 --- a/depends/README.md +++ b/depends/README.md @@ -28,6 +28,22 @@ Common `host-platform-triplets` for cross compilation are: No other options are needed, the paths are automatically configured. +Install the required dependencies: Ubuntu & Debian +-------------------------------------------------- + +For macOS cross compilation: + + sudo apt-get install curl librsvg2-bin libtiff-tools bsdmainutils cmake imagemagick libcap-dev libz-dev libbz2-dev python-setuptools + +For Win32/Win64 cross compilation: + +- see [build-windows.md](../doc/build-windows.md#cross-compilation-for-ubuntu-and-windows-subsystem-for-linux) + +For linux (including i386, ARM) cross compilation: + + sudo apt-get install curl g++-aarch64-linux-gnu g++-4.8-aarch64-linux-gnu gcc-4.8-aarch64-linux-gnu binutils-aarch64-linux-gnu g++-arm-linux-gnueabihf g++-4.8-arm-linux-gnueabihf gcc-4.8-arm-linux-gnueabihf binutils-arm-linux-gnueabihf g++-4.8-multilib gcc-4.8-multilib binutils-gold bsdmainutils + + Dependency Options: The following can be set when running make: make FOO=bar