Details
Details
- Reviewers
deadalnix - Group Reviewers
Restricted Project - Commits
- rSTAGINGb05ab5774a3f: [CMAKE] Use static linkage when cross compiling for windows
rABCb05ab5774a3f: [CMAKE] Use static linkage when cross compiling for windows
Prerequisite:
Follow the doc/build-windows.md and depends/README.md documentation
and install the dependencies for i686-w64-mingw32 and
x86_64-w64-mingw32.
# 32-bit version mkdir buildcmake && cd buildcmake cmake -GNinja .. -DBUILD_BITCOIN_SEEDER=OFF \ -DCMAKE_TOOLCHAIN_FILE=../cmake/platforms/Win32.cmake ninja
Check the build succeeds.
Check src/bitcoind.exe runs as expected, without copying any dll.
Operate the same for Win64.
# 64-bit version rm -rf * cmake -GNinja .. -DBUILD_BITCOIN_SEEDER=OFF \ -DCMAKE_TOOLCHAIN_FILE=../cmake/platforms/Win64.cmake ninja
Check the build succeeds.
Check src/bitcoind.exe runs as expected, without copying any dll.
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- cmake_windows_static
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 5174 Build 8411: Bitcoin ABC Buildbot (legacy) Build 8410: arc lint + arc unit