I try to use libc++/libc++abi/libunwind in OP-TEE, which is mentioned here https://github.com/OP-TEE/optee_os/pull/3693. Most C++ standard library could work, except of std::cout. I guest std::cout is also a complicated system call which is not implemented in OP-TEE. I am wondering whether the OE support std::cout in OP-TEE OS. I would like to refer that. Thanks!
llvm: libcxx\include\ostream
template <class _CharT, class _Traits>
basic_ostream<_CharT, _Traits>::sentry::sentry(basic_ostream<_CharT, Traits>& os)
: ok(false),
_os(os)
{
if (os.good()) ==========================> crash here!!!!!!
{
if (os.tie())
os.tie()->flush();
_ok = true;
}
}
I try to use libc++/libc++abi/libunwind in OP-TEE, which is mentioned here https://github.com/OP-TEE/optee_os/pull/3693. Most C++ standard library could work, except of std::cout. I guest std::cout is also a complicated system call which is not implemented in OP-TEE. I am wondering whether the OE support std::cout in OP-TEE OS. I would like to refer that. Thanks!
llvm: libcxx\include\ostream template <class _CharT, class _Traits> basic_ostream<_CharT, _Traits>::sentry::sentry(basic_ostream<_CharT, Traits>& os) : ok(false), _os(os) { if (os.good()) ==========================> crash here!!!!!! { if (os.tie()) os.tie()->flush(); _ok = true; } }