comp.lang.ada
 help / color / mirror / Atom feed
From: kylix <likai3g@gmail.com>
Subject: Re: ANN: GCC 4.9.0 for Mac OS X Mavericks
Date: Tue, 6 May 2014 03:08:39 -0700 (PDT)
Date: 2014-05-06T03:08:39-07:00	[thread overview]
Message-ID: <0957454d-bf39-4444-8c4f-2ead1cbb96a3@googlegroups.com> (raw)
In-Reply-To: <dc629891-d0eb-44c8-a20c-fcadf97d73e5@googlegroups.com>

On Tuesday, May 6, 2014 2:44:14 AM UTC+8, Dan'l Miller wrote:
> On Wednesday, April 30, 2014 11:00:27 PM UTC-5, Dan'l Miller wrote:
> 
> >
> 
> > Does anyone know of analogous work for releasing GCC 4.9.0 & its GNAT for iOS ARM development?
> 
> 
> 
> Here is how I understand to develop iOS apps partially in Ada:
> 
> 0) Install Xcode on Mac.
> 
> 1) Install Apple's Command-Line Tools from http://developer.apple.com/downloads 
> 
> 2) Install Homebrew
> 
> 3) Install Homebrew's gcc49.rb on Mac.
> 
> 4) Cross-compile nonGUI Ada source code to Cortex-A9 (Apple A5), ARMv7 (Apple A6), ARMv8a (Apple A7).
> 
> 5) Cross-compile glue(-to-Ada) source code and GUI source code in Xcode/LLVM Objective-C or Objective-C++ to same ARM instruction-set.
> 
> 6) Link the Objective-C[++] and Ada object files together to produce executable for iOS.  Should this step use Xcode's LLVM linker or GCC's linker?
> 
> 7) Debug GUI & glue in Xcode's debugger for most recent Objective-C[++] features.  Debug Ada source code in GNAT's debugger for Ada symbol support.
> 
> 
> 
> The keyword here truly is homebrew.  Does anyone have any better technique?  Does anyone know of a better-supported Ada development environment for cross-compiling to iOS?

I try port my Ada SDL game to iphone, and found clang is the only way, so you can't use Ada develop app for ios. Some open source projects hack other languages (such as golang, haskell) work on jailbroken iphone, but i don't think that fit your desire.

  parent reply	other threads:[~2014-05-06 10:08 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-30  9:12 ANN: GCC 4.9.0 for Mac OS X Mavericks Simon Wright
2014-05-01  4:00 ` Dan'l Miller
2014-05-05 18:44   ` Dan'l Miller
2014-05-05 19:38     ` Simon Wright
2014-05-06 10:08     ` kylix [this message]
2014-05-06 11:06       ` Dan'l Miller
2014-05-06 15:03         ` kylix
2014-05-06 17:52           ` Dan'l Miller
2014-05-06 19:05             ` Simon Wright
2014-05-08  9:09     ` Blady
2014-05-08 18:10       ` Dan'l Miller
2014-05-12 19:34         ` Blady
2014-05-11 18:41       ` Simon Wright
2014-05-12  3:33         ` Dan'l Miller
2014-10-11 22:48 ` marioeroy
replies disabled

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