Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

is arm-eabi-gcc different than arm-linux-androideabi-gcc

Is arm-eabi-gcc different than arm-linux-androideabi-gcc? Can I swap arm-eabi-gcc with arm-linux-androideabi-gcc to the agcc script from this site http://www.plausible.org/andy/agcc?

like image 636
kuchi Avatar asked Nov 07 '11 17:11

kuchi


1 Answers

Yes, arm-eabi-gcc and arm-linux-androideabi-gcc toolchains which come with Android NDK are (somewhat) different, you can read about what arm-linux-androideabi-gcc (the newer one) is in git or in file docs/CHANGES.html in your local NDK install.

Regarding second question, you could swap arm-linux-androideabi-gcc in agcc script, but note that agcc script is pretty historical now, you doesn't need such heavy shims to build native Android code nowadays. http://jiggawatt.org/badc0de/android/index.html gives good intro and examples and is more recent approach (note that some examples (e.g. OpenGL ES) may be also dated as of Android 2.3). I myself use techniques described there, except that just use arm-linux-androideabi-gcc from NDK as a compiler.

like image 200
pfalcon Avatar answered Oct 12 '22 21:10

pfalcon