[cfe-dev] Control selected GCC installation / selected libstdc++ version?

Nico Weber via cfe-dev cfe-dev at lists.llvm.org
Thu Mar 10 08:33:29 PST 2016


Depending on how things look on disk, clang's --gcc-toolchain option might
do what you want. If you locally built a gcc (with libstdc++ and
everything) in $HOME/gcc5, then --gcc-toolchain=$HOME/gcc5 should tell to
use the libstdc++ from there.

On Thu, Mar 10, 2016 at 11:26 AM, Jonathan Roelofs via cfe-dev <
cfe-dev at lists.llvm.org> wrote:

>
>
> On 3/10/16 8:45 AM, Jonathan Roelofs via cfe-dev wrote:
>
>> Do you a think a patch which introduces an env var setting for
>>> specifying the
>>> desired libstdc++ version would be acceptable?
>>>
>>
>> An env var for that would not be acceptable, but a command line option
>> probably would be.
>>
>
> I forgot to add: feel free to tag me as a reviewer if you do come up with
> a patch.
>
>
> Jon
>
>
> --
> Jon Roelofs
> jonathan at codesourcery.com
> CodeSourcery / Mentor Embedded
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160310/fde1b0ec/attachment.html>


More information about the cfe-dev mailing list