T
T
Tolik2014-08-11 14:57:45
Android
Tolik, 2014-08-11 14:57:45

How to compile a program via gcc/g++ on ARMv6 (Android 2.3.7)?

I have a rooted Galaxy Gio. There is software on the market that allows you to compile code on the device for it. But it's not convenient to code there, and I'm sure that the above compilers can do it. That is, what parameters (arguments) to give the compiler on the command line?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GavriKos, 2014-08-11
@Diel

You can look at the compilation and linking process in the ndk_build file in the AndroidSDK - it might give you some ideas.
But the process of building an APK is not just about compiling. So besides GCC you need something like ant.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question