commercetest / cross-compiling-gnunet

A work-in-progress repository of the scripts, discoveries, tips and traps we're discovering during the process of cross-compiling GNUnet for Android.
MIT License
0 stars 0 forks source link

zlib for ARM? #3

Open julianharty opened 4 months ago

julianharty commented 4 months ago

Context

We need to build zlib for ARM. However according to the build's configure command it only supports x86 32-bit (i386) and 64-bit (x86_64) architectures.

./configure --help
usage:
  configure [--const] [--zprefix] [--prefix=PREFIX]  [--eprefix=EXPREFIX]
    [--static] [--64] [--libdir=LIBDIR] [--sharedlibdir=LIBDIR]
    [--includedir=INCLUDEDIR] [--archs="-arch i386 -arch x86_64"]

As ARM devices are the majority of current Android phones and tablets it'll be key to work out what's needed to create zlib for ARM.