freebsd-ports/lang/gnatdroid-x86/Makefile
John Marino 82cfb486dc Add gnatdroid-x86 (3 new ports), X-compiler to Android-x86
Similar to lang/gnatdroid-armv7, lang/gnatdroid-x86 is a cross-compiler
targetting Android. The former targets ARMv7 processors while the latter
targets Android on x86 (32-bit).  The latter also runs on Virtualbox as
a bonus.  The new ports are implemented as slaves to the ARMv7 versions.

The GNAT ACATS were run, and it passed every test except CXG2024,
"accuracy of multiplication and division of mixed decimal and binary
fixed point numbers".
subtest 13: expected -51.00 got 50.0
subtest 14: expected 51.0 got 50.0

This is probably a rounding error unique to 32-bit x86.  Overall this
version passed better than gnatdroid-armv7 because unwind is supported,
enabling check check support.

Also added:
lang/gnatdroid-sysroot-x86 (KitKat and Lollipop API)
lang/gnatdroid-binutils-x86

Despite the desciption, C++, Fortran and Objective-C should also work
well (in addition to advertised C and Ada frontends).

===

The gnatdroid-x86 port builds a C/Ada cross-compiler based on GCC 4.9
that targets the Android operating system (up to version 5.0, API level
21) running on x86 or x86_64 architecture (version 7).  This produces
binaries that run natively on x86-based Android devices.
2015-11-30 00:15:39 +00:00

21 lines
533 B
Makefile

# Created by: John Marino <marino@FreeBSD.org>
# $FreeBSD$
PORTNAME= x86
PORTREVISION= ${X86_PR}
MAINTAINER= marino@FreeBSD.org
COMMENT= C/Ada cross-compiler, target: Android x86
DROID_TARGET= i686-aux-linux-android
CPUVERSION= x86_32
ARG_ARCH= # don't specify
ARG_FPU= # don't specify
ARG_FLOATSOFT= # don't specify
SRPREFIX= ${LOCALBASE}/android-x86
SYSROOT= gnatdroid-sysroot-x86
GDBINUTILS= gnatdroid-binutils-x86
MASTERDIR= ${.CURDIR}/../../lang/gnatdroid-armv7
DESCR= ${.CURDIR}/pkg-descr
.include "${MASTERDIR}/Makefile"