cloudflared icon indicating copy to clipboard operation
cloudflared copied to clipboard

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

Open Milor123 opened this issue 10 months ago • 0 comments

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

Milor123 avatar Feb 24 '25 17:02 Milor123