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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,73560e1bd8d1bdab,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!o9g2000vbo.googlegroups.com!not-for-mail From: jrmarino Newsgroups: comp.lang.ada Subject: GNATDroid (Ada cross-compiler for ARM/Android) incorporated into FreeBSD ports tree Date: Wed, 7 Sep 2011 09:22:37 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 90.38.105.198 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1315412990 13007 127.0.0.1 (7 Sep 2011 16:29:50 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 7 Sep 2011 16:29:50 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: o9g2000vbo.googlegroups.com; posting-host=90.38.105.198; posting-account=Zsf4jwoAAADEqwCydv835KU9-S3h_Y26 User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HNKRUAELSC X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:21841 Date: 2011-09-07T09:22:37-07:00 List-Id: As I just posted on http://www.dragonlace.net, GNATDroid is now officially part of the FreeBSD ports tree and will show in the "lang" category upon the next ports update. I'd like to thank Frederic Culot again for his efforts in getting GNATDroid approved so quickly. To recap an earlier post, GNATDroid is a GCC 4.6 cross-compiler (C and Ada only) that hosts on i386 and AMD64 FreeBSD, and targets either ARMv5 or ARMv7 Android platform. I proved a couple of weeks ago that these cross-compilers pass the ACATS testsuite without failure on these targets. The ARMv5 compiler would be used if the target device is known to be ARMv6 or less, or if it's desired to run the binary on the Android SDK which is limited to ARMv5 instructions. The ARMv7 compiler is more useful as it targets the Cortex-A series chips (NEON instruction set) which are typically used in high-end smart phones and tablets. How to obtain the compiler now (as root on FreeBSD): > portsnap fetch update > cd /usr/ports/lang/gnatdroid-armv7 > make install This installs the cross-compiler at /usr/local/android9/ARMv7/bin all binaries are prefixed by "arm-android-eabi-" e.g. arm-android-eabi- gnatmake Enjoy creating Ada applications on Android! John