Skip to content

Commit a06e8c7

Browse files
ryanofskyMichael Polzer
authored and
Michael Polzer
committedAug 30, 2019
Clarify need to specify --prefix with depends
If not cross compiling, it might actually be nice for it to be picked up automatically. But for now clarify the readme to try to minimize confusion. bitcoin-core/libmultiprocess#4 (comment) bitcoin-core/libmultiprocess#5 (comment)
1 parent c7c8acd commit a06e8c7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed
 

‎depends/README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,18 @@ For example:
1212

1313
make HOST=x86_64-w64-mingw32 -j4
1414

15-
A prefix will be generated that's suitable for plugging into Bitcoin's
16-
configure. In the above example, a dir named x86_64-w64-mingw32 will be
15+
**Bitcoin's configure script by default will ignore the depends output.** In
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
1719
created. To use it for Bitcoin:
1820

1921
./configure --prefix=`pwd`/depends/x86_64-w64-mingw32
2022

2123
Common `host-platform-triplets` for cross compilation are:
2224

25+
- `i686-pc-linux-gnu` for Linux 32 bit
26+
- `x86_64-pc-linux-gnu` for x86 Linux
2327
- `x86_64-w64-mingw32` for Win64
2428
- `x86_64-apple-darwin14` for macOS
2529
- `arm-linux-gnueabihf` for Linux ARM 32 bit

0 commit comments

Comments
 (0)