That's a great idea!  I've been meaning to hack out those libc++ symbols on 
our builds too, because they're particularly evil due to inlining.

For these two symbols particularly, I get warnings saying "these functions 
are huuuuge, consider using the outlining feature, they contain 50000 
lines", and it's the annoying money local traits that we certainly don't 
touch:

__ZNSt3__19money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE8__do_getERS4_S4_bRKNS_6localeEjRjRbRKNS_5ctypeIwEERNS_10unique_ptrIwPFvPvEEERPwSM_
__ZNSt3__19money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE8__do_getERS4_S4_bRKNS_6localeEjRjRbRKNS_5ctypeIcEERNS_10unique_ptrIcPFvPvEEERPcSM_

Nick

On Thursday, 11 September 2014 21:47:52 UTC+1, Chad Austin wrote:
>
> If you link in the Standard C++ Library, global constructors in the 
> library run before main().  The global constructors that are pulling in all 
> of that iostream code are std::cout, std::cin, std::cerr, std::wcout, 
> std::wcin, and std::wcerr.
>
> We build libc++ ourselves rather than letting emscripten do it, and we 
> simply don't include the source files that define std::cout and friends.
>
>
>  

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to