tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Fw: How to force clang to use a particular version of libstdc++?
This particular mail I think I posted on pkgsrc-users which is the wrong list. So I forward it here. Please correct me if I'm wrong. I think it's too technical (about cwrappers and so on) to post on pkgsrc-users and tech-pkg is a more appropriate place.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, June 30th, 2021 at 12:10 PM, hung.nguyengia <hung.nguyengia%protonmail.com@localhost> wrote:
> Now my system has multiple versions of libstdc++. I want clang to use and link with libstdc++ of GCC10. The headers of it are in /usr/include/libstdc++-gcc10 and the libraries itself are in /usr/lib64 as:
>
> /usr/lib64/libstdc++-gcc10.so
>
> /usr/lib64/libstdc++-gcc10.so.6
>
> /usr/lib64/libstdc++-gcc10.so.6.0.28
>
> which the former are symlinks to the later.
>
> The system libstdc++ is of GCC5, very old and shouldn't be used. It's in /usr/lib64 as:
>
> /usr/lib64/libstdc++.so
>
> and is a symlink to ../../lib64/libstdc++.so.6.0.21
>
> Is there anything I could do with pkgsrc to archive this?
Home |
Main Index |
Thread Index |
Old Index