android-shmem icon indicating copy to clipboard operation
android-shmem copied to clipboard

compiling for arm64

Open krijos opened this issue 7 years ago • 10 comments

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

krijos avatar Oct 16 '17 20:10 krijos

I've never done that, so I don't know.

On Oct 16, 2017 11:27 PM, "krijos" [email protected] wrote:

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

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pelya/android-shmem/issues/8, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJewFASTFWQSga3W8i6cdWUJHyH7T7Qks5ss7wngaJpZM4P7Mi- .

pelya avatar Oct 16 '17 20:10 pelya

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

krijos avatar Oct 16 '17 20:10 krijos

@krijos how is the progress?

Aloento avatar Feb 13 '18 06:02 Aloento

Hi, too much workload from other things so had to put this on hold, sadly.

⁣Sent from Blue ​

On 13 Feb 2018, 07:56, at 07:56, SoarTeam-MOJANG [email protected] wrote:

@krijos how is the progress?

-- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/pelya/android-shmem/issues/8#issuecomment-365168583

krijos avatar Feb 13 '18 07:02 krijos

@krijos I found the plan. keep in touch.

Aloento avatar Feb 13 '18 10:02 Aloento

@krijos https://github.com/soarteam/libandroid-shmem

Aloento avatar Feb 14 '18 11:02 Aloento

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

robsmith11 avatar Apr 08 '18 06:04 robsmith11

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

Marcus0086 avatar Jan 21 '19 16:01 Marcus0086

@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

robsmith11 avatar Jan 21 '19 21:01 robsmith11

could someone provide the binary please

lexterror avatar Nov 19 '22 03:11 lexterror