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

UBNT 路由器编译 #18

Open
keminar opened this issue Dec 21, 2023 · 0 comments
Open

UBNT 路由器编译 #18

keminar opened this issue Dec 21, 2023 · 0 comments

Comments

@keminar
Copy link
Owner

keminar commented Dec 21, 2023

参考 https://community.ui.com/questions/Golang-support-on-ER-X/7dd19ca6-3eee-4bb6-a4c6-8e5ea0fb37a0

基于Cavium平台,如 ER-Lite-3

$ GOOS=linux GOARCH=mips go build -o mybinary
$ scp mybinary user@ip:/home/user

基于Mediatek平台,如 ER-X

$ GOOS=linux GOARCH=mipsle go build -o mybinary
$ scp mybinary user@ip:/home/user
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

1 participant