Skip to content

unnecessarily complicated setup #49

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

Closed
gopherbot opened this issue Nov 11, 2009 · 2 comments
Closed

unnecessarily complicated setup #49

gopherbot opened this issue Nov 11, 2009 · 2 comments

Comments

@gopherbot
Copy link
Contributor

by oliver.knill:

What steps will reproduce the problem?

its not a problem, but why so complicated?

What is the expected output? What do you see instead?

Let the system figure out and set the global variables. 
Make one generic version of the compiler. It took me half an hour
to figure things out. That is too long. 

What is your $GOOS?  $GOARCH?

It is not clear from the documentation,
whether to use GOARC = linux/386 or   GOARCH=386 for example
There is trouble if one of the directories is only sudo accessible.

export GOROOT=$HOME/prog3/go
export GOOS=linux
export GOARCH=386
export GOBIN=$HOME/bin




Which revision are you sync'ed to?  (hg log -l 1)
changeset:   3975:b51fd2d6c160
tag:         tip
user:        Kevin Ballard <kevin@sb.org>
date:        Tue Nov 10 20:05:24 2009 -0800
summary:     Implement new emacs command M-x gofmt


Please provide any additional information below.
@rsc
Copy link
Contributor

rsc commented Nov 11, 2009

Comment 1:

Owner changed to r...@golang.org.

Status changed to Started.

@rsc
Copy link
Contributor

rsc commented Nov 13, 2009

Comment 2:

We've edited the documentation to try to make this clearer,
and we've also edited the scripts to diagnose invalid environment
settings very early.  This should help people get them right
quickly.
The variables themselves are useful: changing them is all that
is necessary to build binaries for another architecture or even
operating system.

Status changed to Done.

@gopherbot gopherbot added the done label Nov 13, 2009
@golang golang locked and limited conversation to collaborators Jun 24, 2016
@rsc rsc removed their assignment Jun 22, 2022
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

2 participants