I'm trying to adapt a project in which we have our own versions of some common functions - most notably printf, vprintf, and a couple of things from the NDK. The most immediate problem is that my printf version is colliding with one from miniPrintf in the NDK. I really don't want miniPrintf at all. I want the standard low level printf stuff, e.g. vsnprintf, so that I will have the normal quality of translation for things like floating point numbers. Then I want to override vprintf and printf so that I can direct them to some of my own interfaces.
This has worked in the past, e.g. CCS3.3 and NDK2.0. Now I'm getting linker errors indicating the printf and vprintf are implemented both in my code and in miniPrintf. Again, if at all possible, I would like to exclude miniprintf from my build.
Is there a simple way to make this happen?