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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With