User Tools

Site Tools


plan_9_go_programming

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
plan_9_go_programming [2022/06/19 03:47] rudiplan_9_go_programming [2022/06/19 04:01] – Add bind for go install binaries rudi
Line 1: Line 1:
 === Initial Setup on 9p.sdf.org === === Initial Setup on 9p.sdf.org ===
-To get started with Go, you have to add the variable and bind below to your $home/lib/profile+To get started with Go, you have to add the variable and binds below to your $home/lib/profile
 <code> <code>
  GOROOT=/sys/lib/go  GOROOT=/sys/lib/go
  bind -qa /sys/lib/go/bin /bin  bind -qa /sys/lib/go/bin /bin
 +                bind -qa $home/go/bin /bin
 </code> </code>
  
Line 36: Line 37:
 I'm not sure if there are any Plan9 specific differences for Go. I'm not sure if there are any Plan9 specific differences for Go.
   * If you need help, please feel free to reach out to [[mailto://rudi@sdf.org|rudi@sdf.org]]   * If you need help, please feel free to reach out to [[mailto://rudi@sdf.org|rudi@sdf.org]]
-  * It might be possible to make Golang bindings for Plan9 C functions via [[https://pkg.go.dev/cmd/cgo|cgo]]+  * It might be possible to make Golang bindings for Plan9 C functions via [[https://pkg.go.dev/cmd/cgo|cgo]] or [[https://github.com/elliotchance/c2go|c2go]]
     * I (rudi@9p) will probably work on this in my free time     * I (rudi@9p) will probably work on this in my free time
plan_9_go_programming.txt · Last modified: 2023/07/10 20:18 by hc9