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

feature request: add support for arm64 and instructions for statically cross-compiling on x86-64, pls #53

Open
admzzz opened this issue Aug 31, 2020 · 3 comments

Comments

@admzzz
Copy link

admzzz commented Aug 31, 2020

or share precompiled statically binary on github and on your site, as many program developers do nowadays, it would be the best and the easiest solution.

@saagarjha
Copy link

htop works fine on arm64. Did you run into any issues when compiling it?

@admzzz
Copy link
Author

admzzz commented Sep 2, 2020

i simply dunno how to cross-compile it statically: flags -fPIC -static -pie do not work.

can you tell the commandline for cross-compilation and the proper version of gcc?
...but, again, sharing precompiled statically binary for arm64 would be the best deed... ;-)

UPD: tried to recompile it in termux (in order to avoid cross-compilation), same shit: ./configure failed if key "-static" is added either to LIBS, or LDFLAGS, or CFLAGS.

tell the proper way to compile it statically, or share precompiled statically binary, pls.

@cgzones
Copy link
Member

cgzones commented Dec 23, 2020

#412 does add the support for a static build and might also help cross-compiling.

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

3 participants