From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by sourceware.org (Postfix) with ESMTP id 40E13384A87E for ; Wed, 9 Dec 2020 16:52:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 40E13384A87E Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-319-5ou52GNkP_-u1D-xu7S54w-1; Wed, 09 Dec 2020 11:52:54 -0500 X-MC-Unique: 5ou52GNkP_-u1D-xu7S54w-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 2ABFD802B4A; Wed, 9 Dec 2020 16:52:53 +0000 (UTC) Received: from localhost (unknown [10.33.36.115]) by smtp.corp.redhat.com (Postfix) with ESMTP id BA7075D6BA; Wed, 9 Dec 2020 16:52:52 +0000 (UTC) Date: Wed, 9 Dec 2020 16:52:51 +0000 From: Jonathan Wakely To: Keith Packard Cc: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: Re: [PATCH 1/2] libstdc++: Add --enable-pure-stdio-libstdcxx option Message-ID: <20201209165251.GV2309743@redhat.com> References: <20201207183927.3275768-1-keithp@keithp.com> <20201207183927.3275768-2-keithp@keithp.com> <20201207185501.GA4100714@redhat.com> <87y2i98ib2.fsf@keithp.com> <20201209101700.GS2309743@redhat.com> <87o8j36iv2.fsf@keithp.com> MIME-Version: 1.0 In-Reply-To: <87o8j36iv2.fsf@keithp.com> X-Clacks-Overhead: GNU Terry Pratchett X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline X-Spam-Status: No, score=-8.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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: libstdc++@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++ mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Dec 2020 16:52:58 -0000 On 09/12/20 08:32 -0800, Keith Packard via Libstdc++ wrote: >Jonathan Wakely writes: > >> OK. In principle, changes to avoid using the POSIX APIs are definitely >> fine. I would like to combine your new configure switch with the >> existing --enable-cstdio one though. >> >> How about the attached change for acinclude.m4 which would allow you >> to do --enable-cstdio=stdio_pure? (It also adds "stdio_posix" as a >> more accurate alternative spelling of the current "stdio" option.) > >Oh, that's very nice. I'll integrate that into my patch and send it >along. Great. We already have a *lot* of configure options, so piggybacking onto an existing one that's related seems preferable to adding Yet Another of them.