@@ -12,15 +12,18 @@ For example:
12
12
13
13
make HOST=x86_64-w64-mingw32 -j4
14
14
15
- ** Bitcoin Core's configure script by default will ignore the depends output.** In
15
+ ** Bitcoin Core's ` configure ` script by default will ignore the depends output.** In
16
16
order for it to pick up libraries, tools, and settings from the depends build,
17
- you must point it at the appropriate ` --prefix ` directory generated by the
18
- build. In the above example, a prefix dir named x86_64-w64-mingw32 will be
19
- created. To use it for Bitcoin :
17
+ you must set the ` CONFIG_SITE ` environment variable to point to a ` config.site ` settings file.
18
+ In the above example, a file named ` depends/ x86_64-w64-mingw32/share/config.site ` will be
19
+ created. To use it during compilation :
20
20
21
- ./configure --prefix =$PWD/depends/x86_64-w64-mingw32
21
+ CONFIG_SITE =$PWD/depends/x86_64-w64-mingw32/share/config.site ./configure
22
22
23
- Common ` host-platform-triplets ` for cross compilation are:
23
+ The default install prefix when using ` config.site ` is ` --prefix=depends/<host-platform-triplet> ` ,
24
+ so depends build outputs will be installed in that location.
25
+
26
+ Common ` host-platform-triplet ` s for cross compilation are:
24
27
25
28
- ` i686-pc-linux-gnu ` for Linux 32 bit
26
29
- ` x86_64-pc-linux-gnu ` for x86 Linux
@@ -133,4 +136,3 @@ This is an example command for a default build with no disabled dependencies:
133
136
134
137
- [ description.md] ( description.md ) : General description of the depends system
135
138
- [ packages.md] ( packages.md ) : Steps for adding packages
136
-
0 commit comments