From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa1.mentor.iphmx.com (esa1.mentor.iphmx.com [68.232.129.153]) by sourceware.org (Postfix) with ESMTPS id 3F9893858C60 for ; Tue, 3 Jan 2023 21:34:08 +0000 (GMT) X-IronPort-AV: E=Sophos;i="5.96,297,1665475200"; d="scan'208";a="95373433" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa1.mentor.iphmx.com with ESMTP; 03 Jan 2023 13:34:06 -0800 IronPort-SDR: Sfft0nwpI459Ja3YmR4nGw2xadO8r/6bThvdqVN3EvO1M/LwnZvemwPJIzGn0W90WgeYRbVarp SxeDmaD7cDO+IQKeiamNGURAPVdlnHjLvxxX8Qzys3t8jLj3fuHAGA/jsh9B6CvOP4M4vc/Bol DlF1SrCTMs2/JFBDojlEIBtEXWTDsZIcsfxpRVAgsDcDKlaVVmWi6E6bYBgTE78T1mfUG/dsbO N6LHAtWZcVKAGKeT7DhtgAeGxyKxMnUXpbTiTiMb6Cjys/MJPeXIDNSVZJkGdif2EQeeFkH4Lk anw= Date: Tue, 3 Jan 2023 21:34:02 +0000 From: Joseph Myers To: Iain Sandoe CC: Gaius Mulley , GCC Patches , "" Subject: Re: [PATCH] Darwin, crts: Provide scalb and significand as a crt [PR107631] In-Reply-To: <77D8A0F8-2831-4A24-AF23-D39511BDC89E@sandoe.co.uk> Message-ID: <3284364d-bbc0-cc8-8d6c-97408d1753fb@codesourcery.com> References: <20221230102046.8287-1-iain@sandoe.co.uk> <83b1e9f-1b4f-5fc2-90b2-8cf6e97d35db@codesourcery.com> <22D76CA0-7716-4646-9216-2D507AD1F7B2@sandoe.co.uk> <44a1c1e5-c1b0-604c-aca5-bc42d93ee5ba@codesourcery.com> <77D8A0F8-2831-4A24-AF23-D39511BDC89E@sandoe.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-10.mgc.mentorg.com (139.181.222.10) To svr-ies-mbx-10.mgc.mentorg.com (139.181.222.10) X-Spam-Status: No, score=-3109.2 required=5.0 tests=BAYES_00,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,SPF_HELO_PASS,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 Tue, 3 Jan 2023, Iain Sandoe wrote: > 1. Modula-2 should not forward the builtins unless the target supports them, > either by expansion or the relevant lib functions. So that would need some > configury and conditional build code. Note that such configure tests could only readily be in the library configure scripts, not in the compiler configure scripts - you can't do target compile or link tests in host-side configure. (To a limited extent it's possible to grep target headers in host-side configure, though not to actually preprocess them since the compiler required for such preprocessing doesn't exist at that point.) -- Joseph S. Myers joseph@codesourcery.com