[cfe-dev] RFC: Default path for cross-compiled runtimes

Joerg Sonnenberger via cfe-dev cfe-dev at lists.llvm.org
Tue Dec 19 08:30:57 PST 2017


On Tue, Dec 19, 2017 at 04:15:53PM +0000, Petr Hosek via cfe-dev wrote:
> The scheme used by libc++, libc++abi, libunwind doesn't support targets
> other than the host which is a problem when cross-compiling. In our
> toolchain, we would like to build runtimes for all host and target
> platforms we support, e.g. a single toolchain will have runtimes for x86_64
> and aarch64 Linux, Fuchsia and Windows. All you need to provide is the
> target triple and the sysroot. While this is possible with builtins,
> sanitizers and other compiler-rt runtimes, it's not possible with libc++,
> libc++abi, libunwind.

I don't understand what you mean. Normally, $prefix is part of sysroot
and there is no problem here.

Joerg


More information about the cfe-dev mailing list