Skip to content

zoobab/openwrt-15.05-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

noswpatv3 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_64.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

About

A Docker image with GCCGO cross toolchain for OpenWRT 15.05

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published