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
Add support for Arm #69
Comments
|
@rapiz1 Maybe he needs Apple M1(arm64) version just like me, I will try to compile it by myself late. |
The aarch64-unknown-linux-musl does not work on my Pi Zero. I expect that the aarch64-unknown-linux-musl is compiled for ARMv7. I am currently attempting to compile it on the Pi Zero to see if it will work.
|
ARMv7 is actually 32bits :) Anyway I'm glad to provide releases for more architectures. @jasonlearst Can you checkout rustc Platform Support to pick ARM ones that you think will be very useful for you and other users? I don't know much about ARM and there are so many targets 😅 |
I tried to run it on my raspberry PI 3 and it doesnt work |
I did some reading and found that these targets are needed to support the current Raspberry Pis
|
@jasonlearst Thank you very much! I will try to include these targets |
I built some binaries in a ci test repo. Can you try this out? https://github.com/yssjglg/rathole/actions/runs/1661695534 @jasonlearst @zytanic |
@rapiz1
|
Works on the raspberry pi now |
Glad to hear that :) |
Thanks for the new binaries! Using rathole-armv7-unknown-linux-musleabihf.zip on my Pi 4 and rathole-arm-unknown-linux-musleabihf.zip on my Pi Zero I am able to create a working rathole connection. |
@rapiz1 The size of the armv7 version is about 2MB, this is too big for embedded devices. Any plan to reduce the size in following release? |
Currently binaries of some platforms(including arm) are not stripped. #71 tracks the cross-platform strip effort. But you can always strip manually, if you have the arm toolchain. See strip. This may reduce the binary by ~1MiB. And if that's not enough, you can build |
It has been stripped already for the armv7 elf (rathole-armv7-unknown-linux-musleabihf.zip):
|
@tonyho Oh. It has been already compressed by In this case, you need to build a binary by yourself, then run strip and upx :) |
It seems like nobody requests for more ARM binaries of other different targets. Closed. Feel free to open an issue if anyone has other questions. |
No description provided.
The text was updated successfully, but these errors were encountered: