From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.84.240.10 with SMTP id y10mr5287787plk.23.1506091763767; Fri, 22 Sep 2017 07:49:23 -0700 (PDT) X-Received: by 10.157.43.139 with SMTP id u11mr31491ota.23.1506091763614; Fri, 22 Sep 2017 07:49:23 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!paganini.bofh.team!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!o200no684377itg.0!news-out.google.com!194ni1708itf.0!nntp.google.com!o200no684371itg.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 22 Sep 2017 07:49:23 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:c7d:3c35:b000:325a:3aff:fe0f:37a5; posting-account=L2-UcQkAAAAfd_BqbeNHs3XeM0jTXloS NNTP-Posting-Host: 2a02:c7d:3c35:b000:325a:3aff:fe0f:37a5 References: <9fee9ac8-d6a1-41c0-9b47-1a49f6edf0cc@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Dragonegg for GNAT/LLVM to get arm-apple-darwin ISA-target From: Lucretia Injection-Date: Fri, 22 Sep 2017 14:49:23 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:48202 Date: 2017-09-22T07:49:23-07:00 List-Id: 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. >=20 > The ports/pkg names start with "gnatcross" and possibly also "gnatdroid". >=20 > 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 O= S 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 woul= dn't need the extra ARM instructions for the custom ARM CPU as the newer CP= U's don't have custom instructions, AFAICS, just the custom hook up code fo= r Darwin.