[Olsr-dev] building 'framework' for Android
Fri Apr 6 17:57:10 CEST 2012
I was just looking through the common/, config/, framework, and packetbb/ repos to review it for building on Android. My guess is that the best solution will be for me to write an ndk-build/Android.mk build system for it, since that is the standard native build technique for Android, and it integrates into the Eclipse Android ADT development environment that Google supports and most Android devs use.
It looks like Henning recently moved over to using the compiler-defined macros _WIN32, __GLIBC, and __linux__, which makes life easier for things like this kind of stuff. My question now is: is there anything there that assumes that __linux__ means __GLIBC__ or vice versa? That is true on GNU/Linux, but not on Android, and sometimes those things are time consuming to track down, so I thought I'd ask to see if it rings any bells.
More information about the Olsr-dev