From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by sourceware.org (Postfix) with ESMTPS id 347A9388E801 for ; Mon, 1 Feb 2021 18:05:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 347A9388E801 Received: by mail-wr1-x432.google.com with SMTP id z6so17579554wrq.10 for ; Mon, 01 Feb 2021 10:05:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Pj0CizOG6OuWxMUiRwnLqZxYMzPhi2ckUyuZkTXbg1A=; b=H0GdYlZ1rXdok+GOnpbPvs2WvREhhwTqvPOCHM70ulP79Ipyp60GeqytM0giyqMFHP lJVu1hr/zUshFyWvm4d5tYyqQ1DGAu244pco0dIqaU80RBGZBswJDefMGAn/GIr8lADs YanpUoei/VGgQMfffp3DzXZEaI5Ra+STWvzzCucuBBlYB7zoH3nyis4dwPaZDHONWvxM vZPgfM/nYeXi+GVIqk4g/y2OUw/vjNuTMLm6CY5WLMSZnIlzqGSkMzWqHSC4hD9jw6bf Nvu9JtqMJnXrmKPQF/4VMqrr3R+SJm3hgY56Jb84X3hkZO7tsGni/Bx+BZkrCrHsr031 DRhg== X-Gm-Message-State: AOAM530DsJ4vFf0krvzK6QAd/n5oZHclc54/ac8XkXHZJtt8H7Dwdx7r J5l8TygUUf6AvFcNDWM0euhBLNGMqyCzhfdI5Cc= X-Google-Smtp-Source: ABdhPJzNbiQuxayXXDrxy/YLSgV1DcdxWy46TCLXcNg0etQXgBEfI89iHyzQw1/A7dvNvwLMT5cSWywaOUeoAV6N+es= X-Received: by 2002:adf:9e47:: with SMTP id v7mr19172459wre.185.1612202710358; Mon, 01 Feb 2021 10:05:10 -0800 (PST) MIME-Version: 1.0 References: <9b682586a7524eb19be5fb40e958b216@vector.com> In-Reply-To: <9b682586a7524eb19be5fb40e958b216@vector.com> From: Jonathan Wakely Date: Mon, 1 Feb 2021 18:04:59 +0000 Message-ID: Subject: Re: libstdc++ version To: "Kacvinsky, Tom" Cc: "gcc-help@gcc.gnu.org" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Feb 2021 18:05:17 -0000 On Mon, 1 Feb 2021 at 11:31, Kacvinsky, Tom via Gcc-help wrote: > > I think it would be nice if libstdc++.so.6 had a --version option, much like > libc.so.6 has. Because I was reading this > > https://stackoverflow.com/questions/10354636/how-do-you-find-what-version-of-libstdc-library-is-installed-on-your-linux-mac > > and it seems to be a little bit convoluted to find the libstdc++.so.6 > version. > > Thoughts? As my SO answer says, the version of libstdc++ probably isn't what you want to know. Why do you want to know the version of libstdc++.so.6 rather than the version of GCC?