public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-10377] libphobos, Darwin: Enable libphobos for most Darwin.
@ 2024-04-21 13:05 Iain D Sandoe
  0 siblings, 0 replies; only message in thread
From: Iain D Sandoe @ 2024-04-21 13:05 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:50dd6d3cf89214a97c13f0983bd1e87c306dff51

commit r12-10377-g50dd6d3cf89214a97c13f0983bd1e87c306dff51
Author: Iain Sandoe <iain@sandoe.co.uk>
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 <iain@sandoe.co.uk>

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
 	;;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-21 13:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-21 13:05 [gcc r12-10377] libphobos, Darwin: Enable libphobos for most Darwin Iain D Sandoe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).