Consensys / jblst

MIT License
8 stars 12 forks source link

Switch to using TDM for Windows builds #23

Closed ajsutton closed 2 years ago

ajsutton commented 2 years ago

Building with mingw on Windows can leave references to gcc specific dependencies in the built DLL so it fails to load on systems that don't have mingw installed. The recommendation to avoid this is to build with TDM-GCC. TDM-GCC does not have a sensible way to install it from the command line, so we need to manually unzip a bunch of stuff to simulate what it's installer would wind up doing. Messy, but we wind up with a gcc environment that actually builds things that work.

Nashatyrev commented 2 years ago

OMG, that was the path of true warrior! Attaching the original issue description for the log: https://github.com/supranational/blst/issues/83