moovweb / gvm

Go Version Manager
http://github.com/moovweb/gvm
MIT License
10.3k stars 538 forks source link

Cannot Install Cross Compilers on go1.5.1 #161

Open gmmeyer opened 9 years ago

gmmeyer commented 9 years ago

Cross compilation fails to install (on Macs, I can't speak for other platforms) when I attempt to run it with the following error:

Installing x86, x86-64, and ARM commands                                        
cmd/8a                                                                          
go tool dist: open /Users/greg/.gvm/gos/go1.5.1/src/cmd/8a: no such file or dire
ctory                                                                           
ERROR: Couldn't compile tool: 8a

It installs on go1.4, but not 1.5.1.

gmmeyer commented 9 years ago

Oh it's built into go now! So this isn't a bug, other than that it possibly needs a clearer error.

im-kulikov commented 7 years ago

@gmmeyer

macOS 10.12.4

$ gvm list

gvm gos (installed)

=> go1.8.1
   system

system (Golang) installed by Homebrew

$ gvm cross linux x86-64
Installing x86, x86-64, and ARM commands
cmd/8a
go tool dist: open /Users/kulikov-im/.gvm/gos/go1.8.1/src/cmd/8a: no such file or directory
ERROR: Couldn't compile tool: 8a