From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com [68.232.141.98]) by sourceware.org (Postfix) with ESMTPS id B9F473858D32 for ; Mon, 23 Jan 2023 09:30:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B9F473858D32 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com X-IronPort-AV: E=Sophos;i="5.97,239,1669104000"; d="scan'208";a="95383471" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa2.mentor.iphmx.com with ESMTP; 23 Jan 2023 01:30:21 -0800 IronPort-SDR: fbncfoURJaNKbgSrdgpugKqn8omI/kmJqaRp6D+peYBtdjx4z6/G3y3tBUWNTht4IGeI09F6G9 xObIkAnuyBTTNGjMO6WqErdQJZD/iMVR9emQFL4Cv4xLUH7zhO1A/Curyy7bFw57hpyhpw5A4N V0tGj6TulDPCpvWoQKVsN/VM99+cC9sPQ072NUoXYrr32X9HQaYESyQIz5T7ubZJTXHX4QyL/q VsrJW4H5FJSv9EsYzZuKDMpiUCvro3EJPIv6WuABFm0GCHQ47k0QykmElKIEssmDkWrGcEZJ9Z IWc= Message-ID: Date: Mon, 23 Jan 2023 10:30:05 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [Patch] install.texi: Bump newlib version for nvptx + gcn Content-Language: en-US To: Gerald Pfeifer CC: gcc-patches , Tom de Vries , Thomas Schwinge , =?UTF-8?Q?Martin_Li=c5=a1ka?= , Matthias Klose References: <11d635d0-9798-5344-934b-969cb01974ba@codesourcery.com> <13b420c5-f19c-016c-3fbb-b3df6532962b@pfeifer.com> From: Tobias Burnus In-Reply-To: <13b420c5-f19c-016c-3fbb-b3df6532962b@pfeifer.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-15.mgc.mentorg.com (139.181.222.15) To svr-ies-mbx-12.mgc.mentorg.com (139.181.222.12) X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,NICE_REPLY_A,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham 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 22.01.23 02:45, Gerald Pfeifer wrote: >> Maybe, but the question is what to use? The project's webpage has on the >> first page: "patch submissions to Newlib" and "automate the testing of >> newlib". > I also dug into the newlib web page and other sources and - while my > personal preference slightly leans towards Newlib - believe newlib is > more established overall. > > For the web pages, it's clearer than for our *.texi ones you dug into: > > ~/src/wwwdocs/htdocs> grep -r newlib . | wc -l > 15 > ~/src/wwwdocs/htdocs> grep -r Newlib . | wc -l > 3 You need to be careful with those counts as there is not only 'the [nN]ewli= b library' but also flags/configure arguments etc: gcc/doc/install.texi:@item --with-newlib gcc/doc/install.texi-@item --with-nds32-lib=3D@var{library} gcc/doc/install.texi:Currently, the valid @var{library} is @samp{newlib} or= @samp{mculib}. gcc/doc/install.texi:to nvptx-newlib's @file{newlib} directory to the direc= tory containing gcc/doc/install.texi:@option{--enable-newlib-io-long-long} options when con= figuring. gcc/doc/invoke.texi:@samp{--enable-newlib-nano-formatted-io}. gcc/doc/invoke.texi:@item -mnewlib gcc/doc/invoke.texi:@opindex mnewlib (and a few more). In the libstdc++-v3/doc/xml/, there are two 'newlib' and one 'Newlib' (plus a bunch of newlib as filename/argument/config option). Still, I concur that 'newlib' is still used a bit more often than 'Newlib'. * * * In any case, I concur that it would be nice to unify .texi/.xml and diagnos= tic output (twice in config/or1k/elf.opt) - and likewise the wwwdocs pages. (That elf.opt file has twice 'newlib' and once 'Newlib'.) -> adds this to the to-do list. Tobias ----------------- Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstra=C3=9Fe 201= , 80634 M=C3=BCnchen; Gesellschaft mit beschr=C3=A4nkter Haftung; Gesch=C3= =A4ftsf=C3=BChrer: Thomas Heurung, Frank Th=C3=BCrauf; Sitz der Gesellschaf= t: M=C3=BCnchen; Registergericht M=C3=BCnchen, HRB 106955