Go programming language on the Pine64
#3
Nice to be proved wrong Smile

That creates a go compiler in /usr/bin. It's version 1.6.1 of Go. The latest stable release is 1.6.2, but 1.6.1 is perfectly serviceable.

So umiddelb is right, you can install go much more easily than I described. If you just want to write Go programs, that's obviously the way to go.

However, if you want the latest stable release, or a beta test version, you will have to compile it from source, and I'm not sure that you can use a version installed via apt to do that. I just tried it and the builder script failed looking for yet another version of go - version 1.4. I then tried setting GOROOT_BOOTSTRAP to /usr (so that it would use /usr/bin/go to compile) but that failed in a different way.

I think that the instructions for compiling Go from source assume that you are using another compiler compiled from source, which is why you have to mess about with a cross-compiler to get started. If anybody knows better, please say.


Messages In This Thread
RE: Go programming language on the Pine64 - by simonritchie - 06-13-2016, 03:29 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question External storage problem for pine64 Dani6102 4 1,789 08-22-2023, 08:36 AM
Last Post: gulshan212
  Pine64 as wireless audio device S265 3 3,343 04-07-2022, 10:39 PM
Last Post: S265
  Pine64(+) and manjaro dsychan 0 1,180 04-05-2022, 11:32 PM
Last Post: dsychan
Thumbs Down Pine64 was a Useless Project pushpendrak 18 29,054 11-21-2020, 10:17 PM
Last Post: tllim
  Pine64 LCD rstcologne 0 3,154 09-22-2020, 12:43 PM
Last Post: rstcologne
  Pine64+ power button PaddyChan 0 2,804 09-14-2020, 09:55 AM
Last Post: PaddyChan
  Pine64 OS dpcons 2 5,007 03-02-2020, 04:32 PM
Last Post: dpcons
  Jailhouse supports Pine64+ vj-kumar 0 2,863 02-17-2020, 11:39 PM
Last Post: vj-kumar
  PINE64 board not powering up loki21century 2 5,648 11-25-2019, 12:19 PM
Last Post: Partymack711
  Pine64 not powering up. skylab 5 7,341 05-03-2019, 02:48 PM
Last Post: Mendota

Forum Jump:


Users browsing this thread: 1 Guest(s)