Boost logo

Boost :

Subject: Re: [boost] [build] targeting different versions of libstdc++
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2018-11-16 20:00:19


On 11/16/2018 12:46 PM, James E. King III via Boost wrote:
> If I make a system with libstdc++6-dev, libstdc++7-dev, and libstdc++8-dev
> on it, is there a way to tell clang to use one over the other? By default
> it will use the latest one.
> I know that for linking one can use the clang flag
> "--gcc-toolchain=/usr/lib/gcc/x86_64-linux-gnu/7" to get the link to point
> at it, but I'm not sure if this also handles the header paths or not.

No idea. Intuitively, I would expect it to work, though.

> If this option works for both header inclusion and for linking, would I
> need to specify it as <cxxflags> and also as <linkflags>?


In Christ,
Steven Watanabe

Boost list run by bdawes at, gregod at, cpdaniel at, john at