Possible to compile rclone on RouterOS mikrotik or metarouter openwrt?

Possible to compile rclone on RouterOS mikrotik or metarouter openwrt?

What processor do they use?

If mips you could try

http://pub.rclone.org/rclone-v1.34-49-ge79a5de-mips.zip

or

http://pub.rclone.org/rclone-v1.34-49-ge79a5de-mipsle.zip

1 Like

one mips-be on CRS109-8G-1S-2HnD-IN

second one is:
MikroTik Cloud Core Router CCR1009-8G-1S-PC
Tilera TILE-Gx8009

how to compile for those 2 types?
(latest beta from github)

You will need the latest go release - see 1.8Beta3 from here https://golang.org/dl/

I’m assuming you want to cross compile, so on your main PC

go get github.com/ncw/rclone

Then

cd $GOPATH/github.com/ncw/rclone
GOOS=linux GOARCH=mips go build

That will work for the mips router hopefully.

I’m not sure about the Tilera based one - the standard go release won’t work there. You may be able to use gccgo to compile rclone provided that it targets Tilera.

1 Like