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

aarch64 builds #44

Open
thebitstick opened this issue Mar 26, 2020 · 3 comments
Open

aarch64 builds #44

thebitstick opened this issue Mar 26, 2020 · 3 comments
Labels
help wanted Needs help and/or input from community

Comments

@thebitstick
Copy link

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

@Tiiffi Tiiffi added the help wanted Needs help and/or input from community label May 16, 2020
@Tiiffi
Copy link
Owner

Tiiffi commented May 16, 2020

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. 😄

@thebitstick
Copy link
Author

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/

@Ubuntuify
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Needs help and/or input from community
Projects
None yet
Development

No branches or pull requests

3 participants