-
Notifications
You must be signed in to change notification settings - Fork 490
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
CeDeROM add FreeBSD support 20221014. #1516
CeDeROM add FreeBSD support 20221014. #1516
Conversation
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.
LGTM.
Left a minor suggestion that may help contributors in future.
3b3b4d3
to
1901fb6
Compare
* FreeBSD can emulate Linux ELF binaries [1]. * Use the same process for FreeBSD as for Linux. * Add FreeBSD recognition in checks. [1] https://docs.freebsd.org/en/articles/linux-emulation/ Signed-off-by: Tomasz 'CeDeROM' CEDRO <tomek@cedro.info>
* Not every OS uses `x86_64` in `uname` (i.e. FreeBSD uses `amd64`). * Every 64-bit OS will have 64 in `uname`. * Alternatively `platform.architecture()[0]` will return `64bit`. Signed-off-by: Tomasz 'CeDeROM' CEDRO <tomek@cedro.info>
1901fb6
to
8913e14
Compare
Updates:
|
Here is my local fork of NDK with several commits that enables build on FreeBSD. Bugs are reported to Google Android NDK team + fixes provided. https://github.com/cederom/google-android-ndk/tree/cederom-freebsd Note: Recipes does not build yet. |
Not sure if its worth the effort to work with a so called "OpenSource" project (Google/Android/NDK) that rejects (as "not planned") even trivial patches to make it work on other platforms than officially supported :-( |
Allright two of the three patches were accepted :-)
Third one is in progress and under discussion on how to best enable FreeBSD operations without having official support from Google NDK team :-) |
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.
LGTM. Thank you!
Please keep us posted about FreeBSD support on Android NDK. 😄
Thank you @misl6 :-) When is next Buildozer release planned? :-) |
Nothing planned, but considering the current status we are likely going to have a new release in the first week of November. |
[1] https://docs.freebsd.org/en/articles/linux-emulation/
x86_64
inuname
(i.e. FreeBSD usesamd64
).uname
.platform.architecture()[0]
will return64bit
.