openwrt-15.05-go-master

所属分类:嵌入式Linux
开发工具:LINUX
文件大小:1205KB
下载次数:0
上传日期:2020-11-13 20:44:16
上 传 者zoobab
说明:  gentoo quickunpkg github mirror package manager

文件列表:
Dockerfile (571, 2020-10-17)
build.sh (587, 2020-10-17)
build.sh.txt (2971, 2020-10-17)
dotconfig (144296, 2020-10-17)
hello (3375281, 2020-10-17)
hello.go (73, 2020-10-17)

[![noswpatv3](http://zoobab.wdfiles.com/local--files/start/noupcv3.jpg)](https://ffii.org/donate-now-to-save-europe-from-software-patents-says-ffii/) A GCCGO toolchain for OpenWRT ============================= A Docker build image for GCCGO cross toolchain for OpenWRT 15.05. Target is a MIPS24K Gl.inet router. Binaries ======== You can find the binaries of the compilation here: http://filez.zoobab.com/openwrt/gccgo-toolchain/ar71xx-glibc/ The toolchain contains `mips-openwrt-linux-gnu-gccgo`, `mips-openwrt-linux-gnu-go`, `mips-openwrt-linux-gnu-gofmt` and the go libraries: http://filez.zoobab.com/openwrt/gccgo-toolchain/ar71xx-glibc/OpenWrt-Toolchain-ar71xx-generic_gcc-5.3.0_glibc-2.19.Linux-x86_***.tar.bz2 Usage ===== You can build the complete OpenWRT with the Docker recipe like this: ``` $ docker build -t openwrt-15.05-go:latest . ``` The output is roughly 10GB. You can also download the precompiled binary docker image from the docker hub (also 10GB): ``` $ docker pull zoobab/openwrt-15.05-go ``` And then run inside to find the toolchain: ``` $ docker run -i -t zoobab/openwrt-15.05-go:latest /bin/bash ``` You will find the toolchain under `/home/openwrt/openwrt-15.05/staging_dir/toolchain-mips_34kc_gcc-5.3.0_glibc-2.19/bin` . Compile a hello.go ================== Look at build.sh on how to build a hello.go with the toolchain. Links ===== * Cross-compile an hello.go: http://www.sajalkayan.com/post/golang-openwrt-mips.html * GCCGO toolchain for OpenWRT: https://hub.docker.com/r/zoobab/openwrt-15.05-go/

近期下载者

相关文件


收藏者