Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2023-11-16 14:43:02


Matthijs Möhlmann wrote:
> > As a general rule, you should prefer using the built-in b2 features for stdlib
> > selection and C++ standard level; instead of
> >
> > cxxflags="-I/usr/include/libcxxabi -std=c++20 -stdlib=libc++" linkflags="-
> stdlib=libc++"
> >
> > try
> >
> > stdlib=libc++ cxxstd=20
> >
> > and, if needed,
> >
> > include=/usr/include/libcxxabi
> >
> > .
> >
> >
> I tried your suggestion but still the same errors.
>
> If I say --with-toolset=clang is the linker from llvm also selected or
> do I have to add
> the flag linker=... to that list?

There's no linker= feature, but I suppose you can try

linkflags=-fuse-ld=lld-16

since I see that in LDFLAGS in your log.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk