comp.lang.ada
 help / color / mirror / Atom feed
* GNATDroid (Ada cross-compiler for ARM/Android) incorporated into FreeBSD ports tree
@ 2011-09-07 16:22 jrmarino
  2011-09-09 13:29 ` Brian Drummond
  0 siblings, 1 reply; 3+ messages in thread
From: jrmarino @ 2011-09-07 16:22 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-09-09 17:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-07 16:22 GNATDroid (Ada cross-compiler for ARM/Android) incorporated into FreeBSD ports tree jrmarino
2011-09-09 13:29 ` Brian Drummond
2011-09-09 17:26   ` jrmarino

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