Thank you very much. See my comments below.
On Sat, May 30, 2009 at 10:29 PM, John Ripley <
jri...@google.com> wrote:
>
> Hi Richard,
>
> I'm the author of the STLport modifications in Gears. There's no
> Android.mk because the way it's done is that you only have to add it
> in your include path and set a few defines. This is deliberately to
> avoid adding a lot to the binary size, but in hindsight I could have
> arranged to built it as a library and then let the linker do garbage
> collection. I've since managed to build it like this, but as there's
> no real advantage to any application I have, I've not pursued it
> further.
>
> The only problems with using STLport as just include files are the
> lack of iostreams, rtti and exceptions. However, rtti/exceptions is a
> bigger problem than just STLport as it needs a toolchain change, and
> few libraries use iostreams anyway, so it was enough to just support
> the containers and algorithms.
>
> If you copy the appropriate flags from the Gears makefiles: the -
> I*stlport* and -D_STLP* lines, that should be sufficient to compile
> your app. You don't actually need to compile and of the .cc/.cpp files
> in STLport to get it working.