Commit graph

6 commits

Author SHA1 Message Date
John Marino
65f2051631 lang/gnatdroid-*: Support multiple API, base on gcc-aux (gcc 4.9)
This represents major changes with gnatdroid.

The sysroot is no longer API 9 or 19, but a choice of API 8, 9, 15,
16, 17, 18, or 19.  The prefix is not androidX but just "android".
The binutils port had to be adjusted due to the prefix change.

Finally, gnatdroid-armv(5,7) was substancially reworked to use
gcc-aux (4.9) instead of gcc47-aux (4.7).  This means the new ARM
unwinder is in use (zero cost exceptions).  Only 6 ACATS tests are
failing, they are related to the missing stack check capability.

Future work will speed up ACATS remote device testing and hopefully
enable gnat.dg testing too.
2014-04-10 00:34:48 +00:00
John Marino
8ad355d865 lang/gnatdroid-*: Update sysroot to Android API level 9 -> level 19
This is the first of two steps to update the gnatdroid ARM cross-
compilers.  The sysroot was 10 versions behind the current API level
of 19.  The latest API level drops ARMv5 support, but the API is
backwards compatible, so if applications restrict themselves to
level 18 features, then ARMv5 should still be usable.

The next step is to base the cross compilers on GCC 4.9 instead of the
GCC 4.7-based gcc47-aux port.
2014-04-06 11:32:56 +00:00
John Marino
6776e8937d lang/gnatdroid-armv(5,7): Fix build on FreeBSD 10+
Reported by pkg-fallout
Cause: Bad gcc makefile, doesn't properly support cross-compiler build
Workaround: duplicate *-cross executables to the base names so that the
            install target doesn't try to rebuild them
2014-02-03 13:37:19 +00:00
John Marino
d5057f768f lang/gnatdroid-armv(5,7): Convert to staging
* PORTREVISION bumped because previous package added empty directories.
* GPLv3 LICENSE added, but not installed as it messed up dynamic PLIST
* pkg-message used instead of post-install echoes
* Custom do-build target removed, default works after modifications
* OPTIONS_SUB=yes to handle standard PLIST_SUB conversions
* Auto-PLIST logic improvements
* To simplify Auto-PLIST, non-bin entries were removed from pkg-plist
* It was necessary to add pre-install target to pre-create directories that
  are no longer present when port is installed in clean stage.
2013-11-09 12:18:45 +00:00
Frederic Culot
ed452217e0 - Update to 20120301 (corresponding to gcc 4.6.3)
PR:		ports/166720
Submitted by:	John Marino <draco@marino.st> (maintainer)
2012-04-24 07:06:08 +00:00
Frederic Culot
4075117e52 The gnatdroid-armv7 port builds a C/Ada cross-compiler based on GCC 4.6 that
targets the Android operating system (version 2.3, API level 9) running on
ARM architecture (version 7).  This produces binaries that run natively on
Android devices as well as the Android SDK emulator.

WWW: http://www.dragonlace.net

PR:		ports/160427
Submitted by:	John Marino <freebsdml@marino.st>
2011-09-07 11:09:09 +00:00