05-16-2015, 01:22 PM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: May 2015
Device: PocketBook 622
|
Golang for arm and Pocketbook
Golang for arm and Pocketbook
Go cross compiler (1.4.2) with CGO support is now ready for PocketBook arm platform (armel, arm 5). You can download my binary for Ubuntu 12.04 or compile from src with instructions below (coming soon... maybe). In any case (if you want to work with CGO!), you should install toolchain from sergeyvl After downloading binary, unpack into "/opt" and set environments: Code:
PATH="/opt/go/bin:$HOME/bin:$PATH" export GOROOT="/opt/go" export GOPATH="/home/me/mygo" Code:
go build prog.go Code:
GOOS=linux GOARCH=arm GOARM=5 go build armprog.go Code:
CC=arm-none-linux-gnueabi-g++ GOOS=linux GOARCH=arm GOARM=5 CGO_ENABLED=1 go build armprog.go There are some limitations, but I could use inkview and its graphics. sample of code, ... hm.. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Arm V5te is not our friend | glorfybe | enTourage eDGe | 7 | 09-12-2011 10:29 AM |
Calibre on ARM Linux | cstross | Calibre | 8 | 07-25-2011 11:06 AM |
Calibre on Ubuntu/ARM? | cstross | Calibre | 2 | 10-01-2009 02:49 PM |
Linux and ARM processors | mobelby | Calibre | 3 | 06-15-2009 11:55 PM |
iLiad ARM (+Xwindows) resources | arivero | iRex Developer's Corner | 0 | 10-22-2006 10:19 AM |