Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MIPS can be compiled normally after Go 1.10. Branch mips32 becomes deprecated #24

Merged
merged 4 commits into from
Jul 4, 2018

Conversation

hguandl
Copy link
Contributor

@hguandl hguandl commented Jul 4, 2018

As discussed in golang/go#18162, the golang team has added support for softfloat. Thus most routers with MIPS can execute go binary normally without additional FPU emulation support.

To compile binaries for MIPS (mips or mipsle):

GOOS=linux GOARCH=mips/mipsle GOMIPS=softfloat go build -a

And the binary can run well on routers. The modifications in branch mips32 are on longer needed.

godns-mips.tar.gz tested on BUFFALO WZR-HP-AG300H.
godns-mipsle.tar.gz tested on Mi Router 3G.

@hguandl hguandl changed the title MIPS can be compiled normally after Go 1.10, branch mips32 become deprecated MIPS can be compiled normally after Go 1.10. Branch mips32 becomes deprecated Jul 4, 2018
@TimothyYe
Copy link
Owner

Good news, thanks @hguandl .

@TimothyYe TimothyYe merged commit 99ccb5f into TimothyYe:master Jul 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants