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.182.118.194 with SMTP id ko2mr747574obb.32.1399370919440; Tue, 06 May 2014 03:08:39 -0700 (PDT) X-Received: by 10.182.51.198 with SMTP id m6mr235727obo.8.1399370919340; Tue, 06 May 2014 03:08:39 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!c1no1974059igq.0!news-out.google.com!qf4ni19igc.0!nntp.google.com!c1no1974054igq.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 6 May 2014 03:08:39 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=14.31.7.75; posting-account=4uMkDwoAAACMyNluw6CdeU7BMSgYHFMk NNTP-Posting-Host: 14.31.7.75 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <0957454d-bf39-4444-8c4f-2ead1cbb96a3@googlegroups.com> Subject: Re: ANN: GCC 4.9.0 for Mac OS X Mavericks From: kylix Injection-Date: Tue, 06 May 2014 10:08:39 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:19708 Date: 2014-05-06T03:08:39-07:00 List-Id: 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.