[llvm-dev] RFC: Default path for cross-compiled runtimes
Joerg Sonnenberger via llvm-dev
llvm-dev at lists.llvm.org
Mon Jan 1 11:46:02 PST 2018
On Sat, Dec 30, 2017 at 12:29:00AM +0000, Petr Hosek via llvm-dev wrote:
> When you use -stdlib=libc++ today, Clang driver will always first look into
> ../include/c++/v1 (see
> https://github.com/llvm-mirror/clang/blob/master/lib/Driver/ToolChains/Linux.cpp#L736)
> and only then check the sysroot. I don't wan to replace or alter
> --sysroot=, what I'm proposing is generalizing the existing logic to
> support multiarch, akin to libstdc++ (see
> https://github.com/llvm-mirror/clang/blob/master/lib/Driver/ToolChains/Linux.cpp#L774
> ).
I don't see any reason for wanting to do that. libc++'s headers are
target independent. There is no magic configuration file involved.
Joerg
More information about the llvm-dev
mailing list