FBC-ANDROID(1)

NAME
fbc-android - FreeBASIC compiler driver for Android APKs

SYNOPSIS
fbc-android [options] program.bas

DESCRIPTION
fbc-android builds a FreeBASIC source file using the packaged Android target runtime and produces a signed debug APK by default. APK builds include Android ARMv7, AArch64, and x86_64 native libraries unless a specific target is selected.

OPTIONS

--emit-apk
    Produce a signed debug APK. This is the default.

--emit-so
    Produce only the native shared library.

--emit-obj
    Produce only the compiled FreeBASIC object file.

--api N
    Use Android NDK API level N.

--min-api N
    Set APK minSdkVersion to N.

--target-api N
    Set APK targetSdkVersion to N.

--target TARGET
    Build one Android ABI target. Accepted target keys include android-arm, android-aarch64, and android-x86_64.

--targets LIST
    Build APK native libraries for a comma- or space-separated target list.

--package NAME
    Set the Android application package name.

--label TEXT
    Set the Android application label.

--keep-temp
    Keep the temporary build directory.

--runOnPhone
    Build, install, and launch the signed APK on the current adb device.

--help
    Show wrapper help.

ENVIRONMENT

ANDROID_HOME, ANDROID_SDK_ROOT
    Android SDK location.

ANDROID_NDK_HOME
    Android NDK location.

FBANDROID_PREFIX
    Installation prefix used to find the packaged compiler, headers, runtime libraries, and APK templates.

FBANDROID_TARGET
    Single Android target key to build when no --target or --targets option is given.

FBANDROID_TARGETS
    Comma- or space-separated Android target keys to build into APKs by default.

SEE ALSO
fbc(1)