Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/link: Mac os x go use mingw32 build windows dll failed #26225
Please answer these questions before submitting your issue. Thanks!
macos High Sierra 10.13.5 (17F77)
What version of Go are you using (
Does it work if you do everything natively on Windows? That is, is this a problem with Windows DLLs, or is this a problem with using a cross-compiler from MacOS?
How exactly are you trying to use the generated DLL? Simply running it is not expected to work. You are expected to open it from a C program.
You are likely to get better answers for this on a forum; see https://golang.org/wiki/Questions .