<div dir="ltr"><div>Is it possible to build libc++ without OS support, e.g. with code such as structured I/O or threads absent or replaced by non-functional stubs?</div><div><br></div><div>(based on <a href="https://libcxx.llvm.org/BuildingLibcxx.html">https://libcxx.llvm.org/BuildingLibcxx.html</a>, I had an optimistic try with -DLLVM_RUNTIME_TARGETS=riscv32-unknown-elf . That fails, but possibly some other set of control macros can achieve this?)</div><div><br></div><div>Thanks,</div><div>Tom<br></div></div>