Skip to content

fix(windows): static link libgcc to avoid missing dependencies#42

Merged
Gioee merged 2 commits intomainfrom
windows-missing-libgcc
Feb 16, 2026
Merged

fix(windows): static link libgcc to avoid missing dependencies#42
Gioee merged 2 commits intomainfrom
windows-missing-libgcc

Conversation

@Gioee
Copy link
Member

@Gioee Gioee commented Feb 16, 2026

after doing some tests this fix does even reduces the size of the binary by a few bytes because we're using just a couple of functions from the libgcc library, so it makes sense to statically link everything together. Now the only needed runtime libraries are:

KERNEL32.dll -> which is shipped on windows since win95
api-ms-win-crt-* -> which are shipped on windows since windows 7 updates

this pr is linked to the issue #41

@Gioee Gioee self-assigned this Feb 16, 2026
@Gioee Gioee added the bug Something isn't working label Feb 16, 2026
@Gioee Gioee merged commit ac252b5 into main Feb 16, 2026
16 checks passed
@Gioee Gioee deleted the windows-missing-libgcc branch February 16, 2026 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant