From patchwork Thu Jul 6 15:28:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 116766 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp2648131vqx; Thu, 6 Jul 2023 08:36:41 -0700 (PDT) X-Google-Smtp-Source: APBJJlEm0mDGjYlm0t3r74TNjoechIyU3QojQK9rjuchpAY/sEMjDsuFItqj2DHUdDpDhTQiaKLL X-Received: by 2002:a05:6512:445:b0:4f8:710c:e2c7 with SMTP id y5-20020a056512044500b004f8710ce2c7mr1538707lfk.33.1688657801453; Thu, 06 Jul 2023 08:36:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688657801; cv=none; d=google.com; s=arc-20160816; b=UpthN1MOToqaCFg5YkPIKk3zB3lS8Vk+ZcUxvlvrux5qq3F7r6q5e9DtnA5H8iSJ3T xgkLWrbk159FWAPmSWFFobzyl9DYDPImDGz2sIjL7ODCHHow+L5nFJ/HJZIJehepcvoQ BV1b+RSf53V1+jEbHHDh8YonxnkQt7TQ4LfIJLta3jjkOb6bxl2n3en4vMVT8K2osrtV NqKNG4ZwzTRsKFTY3+2H6WYLG3zI6K6zMUNOFCDXoSJercYfME6Btukv/WOWi6yrspsp fhQwi0KbrtCJYCeG1/lB/5eTPVJetVFwW1D+FWcW+UVEoVeaYl7xXGltLDhRGqeASV3s kakA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:to :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=prOxofHTzGrmpp1Yk8NTvrjMs6iJ18wzNJJe46ye3x4=; fh=sC8lnOfyH6gL5FYlMbZ1VDz6qVPMj/3ViLJWKNUCUgQ=; b=ATSbBv2T59JtpkjjC4GFeI8rnLrwVVnnqhXCoHlqu1oqkUDvdr4o362hpXKmSsb79F e/UVvdaKvCpva0EbruuQNkTgyiR+i13zLZHaLtimhr9S67KlNBq4MysIialiWInpGI0e EqnhFgMed2i7maYdr9wbNAZRDv0Mf5wGCqbGN8nIGEELunYGTRFYpWmrbTNXL1cgWe1z XBVXBNO8bIbzDToMfmFVhwcSBNtMdUQbvqNcCIOR+j0SVUNw36bnfqsbqnP2eNnjmMng KR2hJGMzEhSYICEPkPwA2afu8FjNw/kTMMQsm4aVR0QGUAT1FqwQZOVCVUgBdgCR+hYD mHGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=xREvc4id; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id n5-20020aa7d045000000b0051decf83dbesi970275edo.205.2023.07.06.08.36.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jul 2023 08:36:41 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=xREvc4id; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D9871385C8B1 for ; Thu, 6 Jul 2023 15:36:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D9871385C8B1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1688657761; bh=prOxofHTzGrmpp1Yk8NTvrjMs6iJ18wzNJJe46ye3x4=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=xREvc4idGnnTLN1jmm18dvKd1gGtdns78ImcoTmUczb/29Yc3OY6MP1FB9jr9nxQx /EleSRoHzhqvSyh4Xj5WGANOD60uIrnKsMtYjzn6jMPcXYm+dPThVv3Z6JIUco7Wrb ZwTOg3ThCbdTvIBkw9avKmmNmPPUfFOXufxZF/fE= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 85BA53855581 for ; Thu, 6 Jul 2023 15:35:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 85BA53855581 Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-665-m6SW9CRPPoK9impc80jTWw-1; Thu, 06 Jul 2023 11:34:09 -0400 X-MC-Unique: m6SW9CRPPoK9impc80jTWw-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B82311C06922; Thu, 6 Jul 2023 15:28:27 +0000 (UTC) Received: from localhost (unknown [10.42.28.140]) by smtp.corp.redhat.com (Postfix) with ESMTP id 80689F6431; Thu, 6 Jul 2023 15:28:27 +0000 (UTC) To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [committed] libstdc++: Document --enable-cstdio=stdio_pure [PR110574] Date: Thu, 6 Jul 2023 16:28:02 +0100 Message-ID: <20230706152826.1254690-1-jwakely@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Jonathan Wakely via Gcc-patches From: Jonathan Wakely Reply-To: Jonathan Wakely Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770686043065029066?= X-GMAIL-MSGID: =?utf-8?q?1770686043065029066?= Pushed to trunk. Backports to 11, 12 and 13 will follow. -- >8 -- libstdc++-v3/ChangeLog: PR libstdc++/110574 * doc/xml/manual/configure.xml: Describe stdio_pure argument to --enable-cstdio. * doc/html/manual/configure.html: Regenerate. --- libstdc++-v3/doc/html/manual/configure.html | 11 ++++++++--- libstdc++-v3/doc/xml/manual/configure.xml | 11 ++++++++--- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/libstdc++-v3/doc/xml/manual/configure.xml b/libstdc++-v3/doc/xml/manual/configure.xml index 7ff07aea886..1b8c37ce2a9 100644 --- a/libstdc++-v3/doc/xml/manual/configure.xml +++ b/libstdc++-v3/doc/xml/manual/configure.xml @@ -74,9 +74,14 @@ --enable-cstdio=OPTION - Select a target-specific I/O package. At the moment, the only - choice is to use 'stdio', a generic "C" abstraction. - The default is 'stdio'. This option can change the library ABI. + Select a target-specific I/O package. The choices are 'stdio' + which is a generic abstraction using POSIX file I/O APIs + (read, write, + lseek, etc.), and 'stdio_pure' which is similar + but only uses standard C file I/O APIs (fread, + fwrite, fseek, etc.). + The 'stdio_posix' choice is a synonym for 'stdio'. + The default is 'stdio'. This option can change the library ABI.