[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: Nathan Hartman <hartman.nathan_at_gmail.com>
Date: Fri, 18 Oct 2019 14:26:46 -0400

On Fri, Oct 18, 2019 at 1:55 PM Robert Dailey <rcdailey.lists_at_gmail.com>
wrote:

> > 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.
>
I think there is a use case for SVN on Android and iOS, namely native apps
to monitor repositories, view and make changes, etc. I have wished for such
an app myself and haven't found one I like.

It has to be possible to build the sources without the build system.
Perhaps in an IDE project, if NDK comes with an IDE?

Maybe someone who knows more about cross compiling and/or building without
'./configure && make' would like to comment? I know we aren't using this
build system on Windows.

Nathan
Received on 2019-10-18 20:27:07 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.