Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is the difference between android ndk r9 legacy tool chain and android ndk r9 on windows 64

I want to upgrade my android ndk to r9. But in the windows option for 64 bit i see the above two options. I can't seem to find the difference between them online Can someone please elaborate

like image 985
Asiimwe Avatar asked Aug 12 '13 14:08

Asiimwe


People also ask

Which version of NDK should I use?

Android platform compatibility The native libraries created by the Android NDK can only be used on devices running the Android 1.5 platform version or later. This is due to toolchain and ABI related changes that make the native libraries incompatible with 1.0 and 1.1 system images.

What is difference between Android NDK and SDK?

Android provides Native Development Kit (NDK) to support native development in C/C++, besides the Android Software Development Kit (Android SDK) which supports Java. [TODO] more. NDK is a complex and advanced topics.

What is Android toolchain?

A toolchain which is ready to use with all the configuration that is the system headers and libraries in the correct path . For Android it will also have the API headers in the path where the toolchain can look it up.

What is Android NDK used for?

The Native Development Kit (NDK) is a set of tools that allows you to use C and C++ code with Android, and provides platform libraries you can use to manage native activities and access physical device components, such as sensors and touch input.


1 Answers

The Android NDK allows the use of several different compilers and linkers. The default is currently GCC 4.6, which is the only one distributed with the "android-ndk-r9" package, and which will fit the needs of most developers.

The second package, "android-ndk-r9-legacy", contains the additionnal compilers and linkers, such as Clang. It is an additional package that you merge with the "classical" android NDK if you need to use one of these compilers/linkers.

In short, except if you're planning on using a specific compiler, don't download the "legacy" package but only the "classical" one.

like image 184
mbrenon Avatar answered Sep 25 '22 12:09

mbrenon