Host Clang must be able to find libstdc++4.7 or newer!
I've found a Japanese article which apparently suggests adding -DLLVM_ENABLE_LIBCXX=ON to the CMake argument list.
With that, clang got compiled but emscripten itself now fails:
…/emscripten/master/tools/optimizer/simple_ast.h:15:10: fatal error:
'unordered_set' file not found
#include <unordered_set>
^
This sounds like issue #2997 so perhaps the changes made there can be extended somewhat.
In particular, you could provide some way in which the user can supply a compiler command name in the environment, so that I could try out alternatives, e.g. the `clang++-mp-3.7` I can install using MacPorts.
Should I file bug reports for any of this?
--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-disc...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
If you use the default system Clang that you have there, and write a small test application that includes unordered_set, does that work, or does it fail in the same manner? (Remember to compiled with -std=c++11)
--