hao can i set the path of clangs runtime libraries?
the value of “clang -print-runtime-dir”.
You can pass the --resource-dir
argument to set the location of the resource directory (containing the runtime headers and libraries). Note that the -print-runtime-dir
path has a lib/${OS}
component at the end, but the path you pass to --resource-dir
shouldn’t contain that part.
1 Like