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

compiling for arm64 #8

Open
krijos opened this issue Oct 16, 2017 · 10 comments
Open

compiling for arm64 #8

krijos opened this issue Oct 16, 2017 · 10 comments

Comments

@krijos
Copy link

krijos commented Oct 16, 2017

Is this possible. If so, how?
If not what would need to be done to make it possible?

@pelya
Copy link
Owner

pelya commented Oct 16, 2017 via email

@krijos
Copy link
Author

krijos commented Oct 16, 2017

I'll have a look at it and see if I can get it done. Will submit a suggestion if I get it working.

@Aloento
Copy link

Aloento commented Feb 13, 2018

@krijos how is the progress?

@krijos
Copy link
Author

krijos commented Feb 13, 2018 via email

@Aloento
Copy link

Aloento commented Feb 13, 2018

@krijos I found the plan. keep in touch.

@Aloento
Copy link

Aloento commented Feb 14, 2018

@robsmith11
Copy link

I just compiled it by changing the build script to use -march=native and it's working fine on my Snapdragon 625

@Marcus0086
Copy link

@robsmith11 can u provide ur edited source code and tell everyone how to compile it properly.

@robsmith11
Copy link

@Marcus0086

From what I remember, I just changed build.sh to something like below and it worked:

#!/bin/sh

[ -e libancillary/ancillary.h ] || git submodule update --init libancillary || exit 1

gcc -march=native -shared -fpic -std=gnu99 -Wall *.c -I . -I libancillary -o libandroid-shmem.so -Wl,--version-script=exports.txt -lc -lpthread && strip libandroid-shmem.so

@lexterror
Copy link

could someone provide the binary please

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

6 participants