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

can i compile a version for mipsel #148

Closed
cutemanworking opened this issue Aug 19, 2017 · 5 comments
Closed

can i compile a version for mipsel #148

cutemanworking opened this issue Aug 19, 2017 · 5 comments

Comments

@cutemanworking
Copy link

how can i compile a binary for my router which is based on mipsel cpu with debian 8?

@ginuerzh
Copy link
Owner

ginuerzh commented Aug 20, 2017

Do you mean linux/mipsle?
Go 1.8 has supported it: https://golang.org/doc/go1.8#ports

$ GOOS=linux GOARCH=mipsle go build
$ file gost
$ gost: ELF 32-bit LSB executable, MIPS, MIPS32 version 1 (SYSV), statically linked, not stripped

@cutemanworking
Copy link
Author

many thanks!

@cutemanworking
Copy link
Author

编译时出以下错误,请问有什么建议?
./ss.go:87: undefined: shadowsocks.DialWithRawAddrConn

@ginuerzh
Copy link
Owner

#111

@cutemanworking
Copy link
Author

finally compiled my own version. many thanks!!!!

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

No branches or pull requests

2 participants