-
-
Notifications
You must be signed in to change notification settings - Fork 221
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 A64 profile #488
Add A64 profile #488
Conversation
|
||
`mkdir build; cd build; cmake .. -DA64=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo; make -j$(nproc)` | ||
|
||
As most Allwinner A64 device run AARCH64 OS, you'll need an `armhf` multiarch environment, and an armhf gcc: On debian, install it with `sudo apt install gcc-arm-linux-gnueabihf`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know this already has been merged, but I don't like that you're calling it "armhf". "armhf" is ambiguous and can either mean ARMv7 or ARMv6. I'm not even sure which you mean here. What are your thoughts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ARMHF is ARMv7 HardFloat
On Debian and Ubuntu, you use sudo dpkg --add-architecture armhf
to add the armhf architecture (using multiarch).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, but on e.g. Alpine ARMHF is ARMv6 Hard Float, and ARMv7 is just called ARMv7. But, sure, more people will probably think of Debian's name for it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see armhf is just how it's called in other places too, so not really an issue specific to this PR then.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is multiarch available on Alpine?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's not (but from what I understand it's in the works?), but they support multiple architectures and you can create an armhf chroot for example. That said, I don't think Box86 builds on musl anyway, so maybe it doesn't matter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, musl is a problem indeed.
Tested on Pine64 PinePhone, was able to start Uplink Hacker Elite.