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 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!rt.uk.eu.org!news.roellig-ltd.de!open-news-network.org!news.alphanet.ch!alphanet.ch!.POSTED!not-for-mail From: Blady Newsgroups: comp.lang.ada Subject: Re: ANN: GCC 4.9.0 for Mac OS X Mavericks Date: Thu, 08 May 2014 11:09:38 +0200 Organization: Posted through ALPHANET (http://www.alphanet.ch/) Sender: blady@anantes-656-1-9-15.w2-0.abo.wanadoo.fr Message-ID: References: NNTP-Posting-Host: anantes-656-1-9-15.w2-0.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: shakotay.alphanet.ch 1399540168 11296 2.0.212.15 (8 May 2014 09:09:28 GMT) X-Complaints-To: usenet@alphanet.ch NNTP-Posting-Date: Thu, 8 May 2014 09:09:28 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 In-Reply-To: Xref: news.eternal-september.org comp.lang.ada:19749 Date: 2014-05-08T11:09:38+02:00 List-Id: Hello, I did nearly same on native MacOS target with XCode and GNAT GPL. See post messages on GNAT for Mac OS X User List (http://hermes.gwu.edu/archives/gnat-osx.html): - first progress status: https://hermes.gwu.edu/cgi-bin/wa?A2=ind1303&L=gnat-osx&F=&S=&P=68 - small example: https://hermes.gwu.edu/cgi-bin/wa?A2=ind1306&L=gnat-osx&F=&S=&P=67 HTH, Pascal. http://blady.pagesperso-orange.fr Le 05/05/2014 20:44, Dan'l Miller a écrit : > 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? >