Skip to content

Conversation

@stringintech
Copy link
Owner

Simplify the build process by statically linking libbitcoinkernel to produce more self-contained binaries with fewer moving parts. This requires migrating Windows CI from MSVC to MinGW/GCC:

Previously, dynamic linking worked with MSVC because the C API provided a stable ABI boundary between compilers. However, static linking requires ABI compatibility between the library compiler and CGo's GCC toolchain on Windows, which MSVC does not provide. MinGW uses GCC, matching CGo's compiler and enabling static linking.

Simplify the build process by statically linking `libbitcoinkernel` to produces more self-contained binaries with fewer moving parts.
@stringintech stringintech merged commit f41d7ff into main Nov 12, 2025
6 checks passed
@stringintech stringintech deleted the static-link branch November 12, 2025 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants