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

cgo: suggest disable if no set CGO_ENABLED #9160

Closed
chai2010 opened this issue Nov 25, 2014 · 3 comments
Closed

cgo: suggest disable if no set CGO_ENABLED #9160

chai2010 opened this issue Nov 25, 2014 · 3 comments

Comments

@chai2010
Copy link
Contributor

cgo depends GCC, some cgo packages are optional.
normal user do not need install GCC if they do not use cgo package.
@ianlancetaylor
Copy link
Contributor

Comment 1:

The cgo tool is part of the overall Go build system.  Many packages expect it to be
present.  The common case is to have GCC installed.  I think it is reasonable for the
default to be that cgo is enabled.

Status changed to WorkingAsIntended.

@chai2010
Copy link
Contributor Author

Comment 2:

The common case is to have no GCC installed for all windows users.
Go is not only for Linux user, and for lots of Windows user!
Please don't discriminate windows user!

@ianlancetaylor
Copy link
Contributor

Comment 3:

Fair enough about Windows.  But my other points remain true.

@golang golang locked and limited conversation to collaborators Jun 25, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants