This issue tracks the work required to make libc++ conforming to the notion of "Freestanding" as specified in the Standard.
At a high level, this means that clang++ -ffreestanding -stdlib=libc++ should work and provide only the Freestanding parts of the Standard. Furthermore, it should require only reasonable functionality from the underlying system, although exactly how that should be achieved still needs to be discussed.
This issue tracks the work required to make libc++ conforming to the notion of "Freestanding" as specified in the Standard.
At a high level, this means that
clang++ -ffreestanding -stdlib=libc++
should work and provide only the Freestanding parts of the Standard. Furthermore, it should require only reasonable functionality from the underlying system, although exactly how that should be achieved still needs to be discussed.