-
Notifications
You must be signed in to change notification settings - Fork 10.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-print-search-dirs
does not take -stdlib
into account when printing library search directories
#76614
Comments
@llvm/issue-subscribers-clang-driver Author: Boris Kolpackov (boris-kolpackov)
On my Debian with Clang 18 snapshot:
Notice how in the second invocation the library search directories still point to GCC's |
Clang's behavior is expected.
|
@MaskRay Thanks for the clarification. I guess what is still unclear to me is in which directories Clang searches for a library that is specified as, say, |
I have an alias
|
On my Debian with Clang 18 snapshot:
Notice how in the second invocation the library search directories still point to GCC's
libstdc++
rather thanlibc++
.The text was updated successfully, but these errors were encountered: