cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Questions on building libcurl for Android

From: Guenter <lists_at_gknw.net>
Date: Tue, 28 Aug 2012 01:25:31 +0200

Hi,
Am 27.08.2012 11:35, schrieb Ram:
> Thanks Guenter, this was helpful and I created a cross-compile Android
> NDK toolchain for standalone use (on my Windows 7 machine).
> I also defined variables like $ export
> CC=/cygdrive/c/TestDir/android-ndk-r8b/toolchains/standalone-arm-4.4.3/bin/arm-linux-androideabi-gcc.exe
> and similarly for AR, LD, AS, NM, RANLIB.
no, IMO this is the wrong way, ans most likely the cause why you get the
errors later ...
you should try this:
- setup a path to the cross-compiler's bin folder so that you can
execute f.e. 'arm-linux-androideabi-gcc -v' from shell.
- call configure with:
./configure --host=arm-linux-androideabi --with-zlib --enable-ipv6 [more
options if needed, f.e. --disable-shared]

Gün.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-08-28