We've been using SpiderMonkey to provide a JS VM for scripting cocos2d-x
https://github.com/cocos2d/cocos2d-x/tree/gles20/scripting/javascript/bindings
For the project's (non-SpiderMonkey) code we've been using GNU libstdc++ on Android to provide the C++ STL.
After moving to the latest SpiderMonkey sources (from FF17 beta?) I found a dependency on STLPORT in SpiderMonkey. Build fails at link time
http://pastebin.com/9sTGJU5A because STL port is not linked in to final binary.
Questions :
- Has anyone used GNU libstdc++ instead of STLPORT when building SpiderMonkey for Android?
- Is there a plan to remove the dependency on STLPORT?
- The Android NDK documentation states that two different C++ STL's CAN NOT be used in the same binary. There is little reason to doubt this statement... but has anyone attempted to work around this restriction? (I haven't)
Any suggestions to get SpiderMonkey building with GNU libstdc++ are much appreciated.