From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1698) id 7713E3858D28; Sun, 21 Apr 2024 13:05:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7713E3858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1713704734; bh=icAsmp7Zgct4uxL9pXdYVvSeYoyqJ9r0sZV89C/CfR4=; h=From:To:Subject:Date:From; b=fNWrrkYC3L96GaEQn+ZDvMV57V4ezuxuOuWg4RdvF7TxH21LplA5VV8Vsj/ndFgRK WC14xqdHPa4dX8qUhacd+tzOKNvKTX/GFwoOVEgQPc9/DrhYY2Nljw3cs+U2cmoF8l T6BuLE1KBKPgQfonusHPQipAflWBW3l7c6LFKqlc= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Iain D Sandoe To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-10377] libphobos, Darwin: Enable libphobos for most Darwin. X-Act-Checkin: gcc X-Git-Author: Iain Sandoe X-Git-Refname: refs/heads/releases/gcc-12 X-Git-Oldrev: 77f17e405a0669db9a6c8af69bde6eb1170f48bd X-Git-Newrev: 50dd6d3cf89214a97c13f0983bd1e87c306dff51 Message-Id: <20240421130534.7713E3858D28@sourceware.org> Date: Sun, 21 Apr 2024 13:05:34 +0000 (GMT) List-Id: https://gcc.gnu.org/g:50dd6d3cf89214a97c13f0983bd1e87c306dff51 commit r12-10377-g50dd6d3cf89214a97c13f0983bd1e87c306dff51 Author: Iain Sandoe Date: Mon Apr 1 13:58:20 2024 +0100 libphobos, Darwin: Enable libphobos for most Darwin. Earlier Darwin systems can be made to work too - but they need non- standard 'binutils', so for now these must be enabled specifically. libphobos/ChangeLog: * configure.tgt: Enable libphobos for Darwin >= 12. Signed-off-by: Iain Sandoe Diff: --- libphobos/configure.tgt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/libphobos/configure.tgt b/libphobos/configure.tgt index 0063dd23249..817d41a4d2d 100644 --- a/libphobos/configure.tgt +++ b/libphobos/configure.tgt @@ -27,6 +27,9 @@ case "${target}" in *-*-dragonfly*) LIBPHOBOS_SUPPORTED=yes ;; + aarch64-*-darwin2*) + LIBPHOBOS_SUPPORTED=yes + ;; aarch64*-*-linux*) LIBPHOBOS_SUPPORTED=yes ;; @@ -55,6 +58,12 @@ case "${target}" in sparc*-*-solaris2.11*) LIBPHOBOS_SUPPORTED=yes ;; + *-*-darwin9* | *-*-darwin1[01]*) + LIBDRUNTIME_ONLY=yes + ;; + x86_64-*-darwin1[2-9]* | x86_64-*-darwin2* | i?86-*-darwin1[2-7]) + LIBPHOBOS_SUPPORTED=yes + ;; x86_64-*-freebsd* | i?86-*-freebsd*) LIBPHOBOS_SUPPORTED=yes ;;