spacemeshos / svm

SVM - Spacemesh Virtual Machine
https://spacemesh.io
MIT License
86 stars 14 forks source link

Fix the SVM Windows Artifact #355

Closed YaronWittenstein closed 3 years ago

YaronWittenstein commented 3 years ago

@sudachen has pointed out that the current SVM Windows Artifact is corrupted and he suggested two ways to tackle it:

@neysofu @moshababo @noamnelke FYI

sudachen commented 3 years ago

There are the two different way. You can choose one of them. When you use *-windows-gnu toolchain it creates lib*.dll.a file automagically. However, if you need/want by some reason use VS runtime/backend you can create lib.a file in DWARF fromat required by golang compiler with dlltool, instead COFF .lib created by VS toolchain.

sudachen commented 3 years ago
gendef.exe svm.dll
dlltool.exe -d svm.def -D svm.dll -l libsvm.a
YaronWittenstein commented 3 years ago

Thank you!