> Hi
>
> - the ndk is the last version: r5b
>
> - the toolchain is the one that can be downloaded from the patching
> tutorial.
>
> Should I try with an older version of the ndk?
Give r3 a whirl (that was the last rev that I had tested against). My current versions are no longer using a patched version of GCC and using clang instead due to licensing issues.
Clang if compiled from scratch (not the one included in the Xcode dev tools, but if your host OS is a linux or bsd it may work since the clang packages for those are actually clang and not apple-clang) can support a target triple of arm-android-eabi which will generate proper binaries. However you will have to have the libs and headers in a proper sysroot for your targets (along the lines of using the NDK dirs as a sysroot w/ some modifications of file locations or using a few header path and lib path flags). Using clang is then separate from the standard NDK build mechanics, you have to make the jni libs as if they were for a standard linux and then manually copy them into your project directory.
As per building a game engine on this process: I would highly suggest against it at the current moment since GNUStep is not portable yet to Android, as well as there are missing libraries and differences for accessing graphics APIs. This is all still very thought-experement stage and no where near production stable methodologies.
My current compiler takes a bit of a different tact than strictly compiling the source directly into jni binaries and hopefully will end up creating non cpu dependent products for Android.