Re:Elvish – An experimental Unix shell in Go
by chrissnell on Saturday July 26, 2014 @04:47PM
(#8090747)
Hmmm...it's not building for me:
I opened up an issue for you: https://github.com/xiaq/elvish/issues/16
[ Parent
| on HN ]
Re:Elvish – An experimental Unix shell in Go
by bobbyi_settv on Saturday July 26, 2014 @04:54PM
(#8090767)
I think this is because you are on an older version of Go. Try it with Go 1.3
Re:Elvish – An experimental Unix shell in Go
by chrissnell on Saturday July 26, 2014 @04:58PM
(#8090777)
I am using Go 1.3.
$ go version
go version go1.3 darwin/amd64
Re:Elvish – An experimental Unix shell in Go
by bobbyi_settv on Saturday July 26, 2014 @05:13PM
(#8090817)
It builds for me with 1.3 (linux/amd64) on Ubuntu, so I'm guessing it somehow works on Linux but not Mac.
EDIT: Specifically, the first two lines are complaining about an undefined syscall and the next two are complaining about something terminal-related being 64-bit where 32-bit is expected, so those certainly seem like plausible things that would differ across OSes.
Re:Elvish – An experimental Unix shell in Go
by personZ on Saturday July 26, 2014 @06:36PM
(#8091077)
The syscall package varies by platform, and TCGETS, for instance, is defined for Linux-
http://golang.org/src/pkg/syscall/types_linux.go
-but not for Darwin-
http://golang.org/src/pkg/syscall/types_darwin.go
So it seems somewhat Linux tied.