-
Notifications
You must be signed in to change notification settings - Fork 17.4k
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
go1.11 build shared and for to windows dll still not supported from year 2015 on win x64 #27922
Comments
The two issues you mention are closed. What actual problem are you asking about? |
About this: "-buildmode=c-shared not supported on windows/amd64" |
I'm sorry, I don't understand. Those issues are closed. As of the 1.10 release, |
Imposible. I checked now on v1.10 and unistaled this to updated to v1.11 and "-buildmode=c-shared not supported on windows/amd64" on both. |
What is the exact command you are trying to run and what is the exact output? |
I lost here. I rebot OS, and again unistaled go and instal v1.11 When runing in bat E:\GO\go build -ldflags="-s -w" -buildmode=shared main.go E:\GO\go build -ldflags="-s -w" -buildmode=shared main.go E:\GO\go build -ldflags="-s -w" -buildmode=c-archive main.go go install -buildmode=shared -linkshared std go install -buildmode=shared -linkshared main.go I have instaled: |
@ManPython did this resolve your issue? |
Not solved. But checked cc1.exe by https://docs.microsoft.com/en-us/sysinternals/downloads/sigcheck tdm-gcc-64\libexec\gcc\x86_64-w64-mingw32\5.1.0\cc1.exe: Soo? There is long time conflict? Coz TDM is not updated from 2015 on website. |
If If that still doesn't work, open the command line and copy paste the output of |
Still not working. C:>gcc --version tdm-gcc-64\bin\gcc.exe: |
You still have multiple mingw installations. If you only had TDM it would've said |
You was right. I do research with regedit i found minigw with other software. go build -o libdoubler.so -buildmode=shared main.go go build -o libdoubler.dll -buildmode=shared main.go @AlexRouSg, @ianlancetaylor thank You for help. |
Well as it says, |
So we can't produce .dll in win x64? Just .so? I changed topic to clarify situation. |
|
Please direct further questions to one of the places listed in https://github.com/golang/go/wiki/Questions |
I'm closing this issue. Please use a forum, where there will be more people who can help you. See https://golang.org/wiki/Questions . Thanks. |
This is still missed function in x64 amd windows system from 2015 y. Why?
#11058
#23052
http:https://blog.ralch.com/tutorial/golang-sharing-libraries/
The text was updated successfully, but these errors were encountered: