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
cmd/go: windows 7; cgo compile link error #6733
Labels
Comments
Isn't this exactly the same as issue #6731, which you filed, and which was closed as working as intended? |
Short description: As issue #6731, Package and import the package is mixed, ie, the golang program direct call cgo! As this issue, Package and import the package separatel, this package uses cgo way! Describe the problem differences: As issue #6731, 'test.go' is the main entrance of the program, not a golang package; I am currently on golang learning to know is that a program with a main entrance, Compile with program names, such as 'go build test.go' should be passed, but the windows platform is not compiled; while the Linux platform is good! (Package and import the package separatel, this package uses cgo way!) As this issue, build package is ok; but import this package, links can not pass! (Package and import the package separatel, this package uses cgo way ) |
This issue appears identical to 6731. In both issues you are using go build incorrectly. There may be a separate issue for the go tool producing a binary even when compilation is aborted. If this is the case please open a new issue stating this clearly. Status changed to WorkingAsIntended. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
by anwar.root:
Attachments:
The text was updated successfully, but these errors were encountered: