-
-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Would you mind supporting MSVC besides MinGW? #358
Comments
Hi @chenzhekl, certainly. I'll put this as one of the things to support for the next release. Seems like it would be useful for a lot of people 🙂 |
Thanks! Good to know you are considering that. |
Hi @chenzhekl, I just found out that Go itself hasn't supported MSVC out-of-the-box (seems like it is coming though according to this). However, it seems possible to convert an existing MSVC.dll to MinGW-compatible one as shown here. Would that work for your case? If not, could I know why? |
@veeableful Thanks for your investigation. I want MSVC support because MSVC toolchain is used by most Windows programmers, and being able to use |
I don't think supporting MSVC is a priority for the Go team. It has incompatible linkage with GCC when compiling C++ and their C support is laughably bad. If you need to link with DLLs to which you don't have source code access, you could either make a C-linked wrapper for it or try Clang; apparently they added MSVC-linking recently. |
You might be interested in issue 382. If we can remove CGo on Windows, you only need a Go compiler and the |
Would you mind supporting MSVC besides MinGW?
The text was updated successfully, but these errors were encountered: