Skip to content

Commit 31a0135

Browse files
committed
Add required package dependencies for depends cross compilation
[skip-ci]
1 parent c66adb2 commit 31a0135

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

depends/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,22 @@ Common `host-platform-triplets` for cross compilation are:
2828

2929
No other options are needed, the paths are automatically configured.
3030

31+
Install the required dependencies: Ubuntu & Debian
32+
--------------------------------------------------
33+
34+
For macOS cross compilation:
35+
36+
sudo apt-get install curl librsvg2-bin libtiff-tools bsdmainutils cmake imagemagick libcap-dev libz-dev libbz2-dev python-setuptools
37+
38+
For Win32/Win64 cross compilation:
39+
40+
- see [build-windows.md](../doc/build-windows.md#cross-compilation-for-ubuntu-and-windows-subsystem-for-linux)
41+
42+
For linux (including i386, ARM) cross compilation:
43+
44+
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
45+
46+
3147
Dependency Options:
3248
The following can be set when running make: make FOO=bar
3349

0 commit comments

Comments
 (0)