Build libraries from source

Hi!

I want to add gps diriver to Vim on Android 7. I built Android from source. Githab has many available libraries.

The first question. Need i use linaro gcc to build from source (case i built source with this gcc) or i can use the latest android ndk toolchain?

The second question. If i need to use linaro gcc for build process, how to do it with it? I found many instructions how to buid but all with android ndk.

If it possible, please give some example.

P.S. I tried build gps driver with NDK, but unsuccessfully. All gps libraries uses libcutils.so. I took this file from my Vim, build process found him but failed to use. I got the error that this file is incorrect :(.

1 Like

Finally i fixed my problem, done it using android ndk.

1 Like