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/dist: gcc is not a valid compiler on plan 9 #9392

Closed
mischief opened this issue Dec 19, 2014 · 2 comments
Closed

cmd/dist: gcc is not a valid compiler on plan 9 #9392

mischief opened this issue Dec 19, 2014 · 2 comments

Comments

@mischief
Copy link
Contributor

@mischief mischief commented Dec 19, 2014

cmd/dist/plan9.c should probably put 6c or 8c in defaultcc depending on if this is amd64 or 386 respectively.

; ./cmd/dist/dist env -9
CC='gcc'
CC_FOR_TARGET='gcc'
GOROOT='/tmp/plan9-amd64'
GOBIN='/tmp/plan9-amd64/bin'
GOARCH='amd64'
GOOS='plan9'
GOHOSTARCH='amd64'
GOHOSTOS='plan9'
GOTOOLDIR='/tmp/plan9-amd64/pkg/tool/plan9_amd64'
GOCHAR='6'
@minux
Copy link
Member

@minux minux commented Dec 19, 2014

There is no cgo support on plan 9, why bother CC, which is only used for
cgo?

@mischief
Copy link
Contributor Author

@mischief mischief commented Dec 19, 2014

good point. the output was just unexpected. sorry.

@mischief mischief closed this Dec 19, 2014
@golang golang locked and limited conversation to collaborators Jun 25, 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.