Possible Duplicate:
Which compiler does Android NDK use?
I am wondering if it is possible to compile a Native Android Application through GCC. Is this even possible? o.O
Possible Duplicate:
Which compiler does Android NDK use?
I am wondering if it is possible to compile a Native Android Application through GCC. Is this even possible? o.O
It is possible in principle, but Android is designed to run on many mobile platforms, while gcc will target only one of them at a time. The application therefore will not be portable, and it will be closer to truth to say that it runs on ARM Linux (for example) than that it runs on Android.
There is additional detail with this and that question. Edit: I had first misread that to mean that the NDK is not compatible with stock gcc, but upon a closer look, it is compatible. People however normally use the slightly modified gcc that is included with the NDK itself which is how you would normally develop a native application.
The caveat about long term portability still applies.