Pre-built GCC Cross-Compiler for Android: How to set the api level?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

i have installed Pre-built GNU toolchain via
sudo apt-get install gcc-arm-linux-gnueabi

the installed version now is:
arm-linux-gnueabi-gcc (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609

when cross compiling arm android with ndk, usually different toolchain has to be selected for each android version, depending on API level
example
API level  9 = 2.3.6 Gingerbread
API level 19 = 4.4.2 KitKat
API level 21 = 5.0.2 Lollipop

Q: How to set/select the API level on GNU toolchain?

could not find the answer in documentation

you can answer directly here
(or if no veto, i will post your answer)
https://stackoverflow.com/questions/48348342

many thanks for support!

greetings from germany
Alexander Reiche



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux