tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Fw: How to force clang to use a particular version of libstdc++?
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, July 5th, 2021 at 11:28 AM, hung.nguyengia <hung.nguyengia%protonmail.com@localhost> wrote:
> 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?
What I want to do is duplicate the procedure here using the pkgsrc framework:
https://forum.rosalinux.ru/viewtopic.php?t=10047&p=104560
Unfortunately I can't find the documents needed. Absolutely nothing! Even pkgsrc developer guide give nothing about the cwrappers framework. There is no result on Google!
The only thing I could do is reading gazillions of makefiles to have a glimpse about how it works. This driven me mad!
What should I use? CWRAPPERS_APPEND or CWRAPPERS_PREPEND?
Home |
Main Index |
Thread Index |
Old Index