Skip to content
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/link: how to compile a static link file when I use go1.5? #12198

Closed
niebaopeng opened this issue Aug 19, 2015 · 1 comment
Closed

cmd/link: how to compile a static link file when I use go1.5? #12198

niebaopeng opened this issue Aug 19, 2015 · 1 comment

Comments

@niebaopeng
Copy link

@niebaopeng niebaopeng commented Aug 19, 2015

I use the 1.4 version cmd:
CGO_ENABLE=0 go build -a -installsuffix cgo -ldflags '-s'

but it's not worked ?

@bradfitz

This comment has been minimized.

Copy link
Contributor

@bradfitz bradfitz commented Aug 19, 2015

Please send questions to the golang-nuts mailing list. We only use our bug tracker for tracking bugs. Thanks!

@bradfitz bradfitz closed this Aug 19, 2015
@mikioh mikioh changed the title how to compile a static link file when I use go 1.5? cmd/link: how to compile a static link file when I use go1.5? Aug 21, 2015
@golang golang locked and limited conversation to collaborators Aug 22, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.