From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from hamza.pair.com (hamza.pair.com [209.68.5.143]) by sourceware.org (Postfix) with ESMTPS id 7329B3858D32 for ; Sat, 11 Feb 2023 09:10:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7329B3858D32 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=pfeifer.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=pfeifer.com Received: from hamza.pair.com (localhost [127.0.0.1]) by hamza.pair.com (Postfix) with ESMTP id EBDD833E96; Sat, 11 Feb 2023 04:09:59 -0500 (EST) Received: from naga.localdomain (188-23-1-149.adsl.highway.telekom.at [188.23.1.149]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by hamza.pair.com (Postfix) with ESMTPSA id 10A6233EA4; Sat, 11 Feb 2023 04:09:58 -0500 (EST) Date: Sat, 11 Feb 2023 10:09:57 +0100 (CET) From: Gerald Pfeifer To: Alexandre Oliva cc: Iain Sandoe , Joseph Myers , GCC Patches , Nathan Sidwell Subject: Re: [PATCH] Introduce -nolibstdc++ option In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Scanned-By: mailmunge 3.10 on 209.68.5.143 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,RCVD_IN_BARRACUDACENTRAL,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Thu, 23 Jun 2022, Alexandre Oliva via Gcc-patches wrote: > Introduce -nostdlib++ option > > Using g++ to link without libstdc++, as in g++.dg/abi/pure-virtual1.C, > is error prone, because there's no way to tell g++ to drop libstdc++ > without also dropping libc and any other libraries that the target > implicitly links in. % grep -r nostdlib $WWWDOCS % Should this be documented in gcc-13/changes.html? Would you mind proposing a snippet (or going ahead and pushing it)? Gerald