cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Building libcurl for android - proposed documentation change

From: William Grim <grimwm_at_gmail.com>
Date: Fri, 3 Oct 2014 19:58:08 -0700

I don't recall at all having to be inside the ndk directory to run that
command. I'm not for this change.

I have a script at work that I use to do libcurl builds for android. I'll
try to share it with work's permission.
On Oct 3, 2014 6:09 PM, "Daniel Jacobs" <djacobs7_at_gmail.com> wrote:

> I was trying to build libcurl for android, and I noticed something
> confusing in the documentation.
>
> I spent 15 minutes looking for build/tools/make-standalone-toolchain
> within the curl repo. I think making this small documentation change will
> prevent someone from making this same mistake in the future.
>
> I wanted to propose making the following change:
>
> - prepare the toolchain of the Android NDK for standalone use; this can
> be done by invoking the script:-
> ./build/tools/make-standalone-toolchain.sh- which creates a usual
> cross-compile toolchain. Lets assume that you put+
> ./build/tools/make-standalone-toolchain.sh from your Android ndk
> directory (e.g. android-ndk-r10b ).+ This creates a usual cross-compile
> toolchain. Lets assume that you put this toolchain below /opt then invoke
> configure with something like: export
> PATH=/opt/arm-linux-androideabi-4.4.3/bin:$PATH ./configure
> --host=arm-linux-androideabi [more configure options]
>
> My apologies if my formatting is terrible; or if this is the wrong mailing
> list for this sort of thing.
>
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-10-04