[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Cross compiling build instructions

From: Robert Dailey <rcdailey.lists_at_gmail.com>
Date: Fri, 18 Oct 2019 12:54:51 -0500

On Fri, Oct 18, 2019 at 10:19 AM Nathan Hartman
<hartman.nathan_at_gmail.com> wrote:
> I'm sorry to hear that. That's certainly frustrating. :-(
> This might be a dumb question but could you use a native ARM toolchain rather than cross-compiling? I know that depends on having a ARMv7-a device that can run the toolchain, but perhaps that could be achieved with emulation (e.g., QEMU).
> Just a thought...

Sadly, no. Android isn't running on native ARM. The sysroot is
completely different, and the Android NDK changes the c & C++ standard
libs to be compatible with different Android OS versions. It's really
complicated from what little I know.

If the intent is for the code to function in an Android environment,
the only option is cross compiling via Android NDK. Literally every
other OSS library we use can be built this way. OpenSSL, Boost, etc.

It's not the answer the developers want to hear, I'm sure, but the
build system just needs to be fixed. But of course, if there's rarely
a use case for SVN on Android, then there may not be much of a case to
make it a priority or worth the effort. That's likely the status quo.
Received on 2019-10-18 19:55:09 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.