Public | Automated Build

Last pushed: 2 years ago
Short Description
GCCGO toolchain for OpenWRT
Full Description

A GCCGO toolchain for OpenWRT

A Docker build image for GCCGO cross toolchain for OpenWRT 15.05.

Target is a MIPS24K Gl.inet router.


You can find the binaries of the compilation here:

The toolchain contains mips-openwrt-linux-gnu-gccgo, mips-openwrt-linux-gnu-go, mips-openwrt-linux-gnu-gofmt and the go libraries:


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 on how to build a hello.go with the toolchain.


Docker Pull Command
Source Repository