comp.lang.ada
 help / color / mirror / Atom feed
From: Lucretia <laguest9000@googlemail.com>
Subject: Re: Dragonegg for GNAT/LLVM to get arm-apple-darwin ISA-target
Date: Fri, 22 Sep 2017 07:49:23 -0700 (PDT)
Date: 2017-09-22T07:49:23-07:00	[thread overview]
Message-ID: <a312477e-d370-4733-8ba5-887ac792a3c8@googlegroups.com> (raw)
In-Reply-To: <c54b1726-a11b-469b-8a42-4126b65c1588@googlegroups.com>

On Friday, 22 September 2017 08:50:56 UTC+1, Tarjei Jensen  wrote:
> FreeBSD have a cross compiler setup for aarch64 FreeBSD v 11. If might be possible to tweak that to do Darwin.
> 
> The ports/pkg names start with "gnatcross" and possibly also "gnatdroid".
> 
> The cross compilers run natively on the x86 and amd64 architectures.

No, it;s completely different to any BSD as the kernel is Mach based, the OS is also different in it's libs (i.e. the -framework flag).

You'd need to look in Apple's ancient fork gcc_42-5577 / llvmgcc42-2336.11 in the gcc/config/arm dir. If we targetted the later iPhone models, we wouldn't need the extra ARM instructions for the custom ARM CPU as the newer CPU's don't have custom instructions, AFAICS, just the custom hook up code for Darwin.


  reply	other threads:[~2017-09-22 14:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-12 14:40 Dragonegg for GNAT/LLVM to get arm-apple-darwin ISA-target Dan'l Miller
2014-06-12 14:45 ` Lucretia
2014-06-12 17:43   ` Dan'l Miller
2014-06-12 18:02     ` Lucretia
2014-06-12 19:13       ` Dan'l Miller
2014-06-12 19:55         ` Luke A. Guest
2014-06-16 11:52   ` Jacob Sparre Andersen
2017-09-21 19:02 ` Lucretia
2017-09-22  7:50   ` Tarjei Jensen
2017-09-22 14:49     ` Lucretia [this message]
2017-09-23 19:51       ` Tarjei Jensen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox