mcrcon icon indicating copy to clipboard operation
mcrcon copied to clipboard

aarch64 builds

Open thebitstick opened this issue 4 years ago • 3 comments

Useful for those using Raspberry Pis. While it is easy to compile through gcc, it wouldn't hurt to provide binaries.

thebitstick avatar Mar 26 '20 01:03 thebitstick

Hi,

The main reason I am providing limited set of binaries is lack of testing possibilities. I don't want to share binaries which I cannot test.

Maybe someone can steer me to right direction how to crosscompile and test Raspberry Pi binaries without owning the real thing. 😄

Tiiffi avatar May 16 '20 08:05 Tiiffi

I own a Pinebook Pro, which is aarch64. I compiled it via AUR through yay and it works just fine.

As for crosscompiling, if you compile these binaries on your own, then since it's written in C it should be as simple as downloading a crosscompiling gcc and building it. Then you could test them using QEMU. Something useful you can try is userspace emulation which allows you to transparently test aarch64 binaries on whatever architecture you use (I'm assuming x86_64). https://ownyourbits.com/2018/06/13/transparently-running-binaries-from-any-architecture-in-linux-with-qemu-and-binfmt_misc/

thebitstick avatar May 17 '20 01:05 thebitstick

Most Android phones run on ARM or ARM64. You could try using Termux as a testcase instead of a raspberry pi.

Ubuntuify avatar Jul 02 '22 09:07 Ubuntuify