@@ -32,35 +32,31 @@ No other options are needed, the paths are automatically configured.
32
32
33
33
### Install the required dependencies: Ubuntu & Debian
34
34
35
- First, install the common dependencies:
35
+ #### For macOS cross compilation
36
36
37
- sudo apt-get install autoconf automake cmake bsdmainutils ca-certificates curl faketime g++ libtool pkg-config
37
+ sudo apt-get install curl librsvg2-bin libtiff-tools bsdmainutils cmake imagemagick libcap-dev libz-dev libbz2-dev python-setuptools
38
38
39
- #### For macOS cross compilation:
40
-
41
- sudo apt-get install librsvg2-bin libtiff-tools imagemagick libcap-dev libz-dev libbz2-dev python-setuptools
42
-
43
- #### For Win32/Win64 cross compilation:
39
+ #### For Win32/Win64 cross compilation
44
40
45
41
- see [ build-windows.md] ( ../doc/build-windows.md#cross-compilation-for-ubuntu-and-windows-subsystem-for-linux )
46
42
47
- #### For linux (including i386, ARM) cross compilation:
43
+ #### For linux (including i386, ARM) cross compilation
48
44
49
45
Common linux dependencies:
50
46
51
- sudo apt-get install g++-multilib binutils-gold bsdmainutils
47
+ sudo apt-get install make automake cmake curl g++-multilib libtool binutils-gold bsdmainutils pkg-config python3
52
48
53
49
For linux ARM cross compilation:
54
50
55
- sudo apt-get install g++-aarch64 -linux-gnu binutils-aarch64 -linux-gnu
51
+ sudo apt-get install g++-arm -linux-gnueabihf binutils-arm -linux-gnueabihf
56
52
57
53
For linux AARCH64 cross compilation:
58
54
59
- sudo apt-get install g++-arm -linux-gnueabihf binutils-arm -linux-gnueabihf
60
-
55
+ sudo apt-get install g++-aarch64 -linux-gnu binutils-aarch64 -linux-gnu
56
+
61
57
For linux RISC-V 64-bit cross compilation (there are no packages for 32-bit):
62
58
63
- sudo apt-get install curl g++-riscv64-linux-gnu binutils-riscv64-linux-gnu
59
+ sudo apt-get install g++-riscv64-linux-gnu binutils-riscv64-linux-gnu
64
60
65
61
RISC-V known issue: gcc-7.3.0 and gcc-7.3.1 result in a broken ` test_bitcoin ` executable (see https://github.com/bitcoin/bitcoin/pull/13543 ),
66
62
this is apparently fixed in gcc-8.1.0.
0 commit comments