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

[Question] Is possible compile it for a 3M device? #1422

Open
Milor123 opened this issue Feb 24, 2025 · 0 comments
Open

[Question] Is possible compile it for a 3M device? #1422

Milor123 opened this issue Feb 24, 2025 · 0 comments

Comments

@Milor123
Copy link

Milor123 commented Feb 24, 2025

Guys I have a router with MIPS cpu, but i have 2.7M of storage, is possible compile the cloudflared binary for working with it?

I've tried compiled it using

CGO_ENABLED=0 GOOS=linux GOARCH=mipsle GOMIPS=softfloat go build -a -installsuffix cgo -ldflags "-s -w -extldflags '-static'" .

and compress with

upx --best --lzma cloudflared

But i get 5M binary after use upx hahaha, and i dont have USB ports, nothing. what should i do guys?

Could Guide me?
Thank u very much

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