cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Curl and android

From: Jean-Bernard Collet <collet.jb_at_gmail.com>
Date: Wed, 23 Jun 2010 22:19:58 +0200

Sorry, but I did not understand your point there :

> Somehow a space got added after the - in -lm.
>

I have added the "-L$A/out/.../obj/lib" and "-L$A/out/.../system/lib" to the
LIBS.

Furthermore, the crtbegin_dynamic.0 is on the path referenced... I don't
understand why the system cannot find it... Do you think I should change any
rights on files ?

Thanks ;)

On Wed, Jun 23, 2010 at 9:13 PM, Dan Fandrich <dan_at_coneharvesters.com>wrote:

> On Wed, Jun 23, 2010 at 08:43:47PM +0200, Jean-Bernard Collet wrote:
> > What -L options should I use ?
>
> I thought those were included on a normal Android link, but it appears that
> they're not. You'll need to add "-L$A/out/.../obj/lib" and
> "-L$A/out/.../system/lib" to the LIBS variable.
>
> Also, -isystem takes a directory as a parameter. For my build, I replaced
> the -I flags with -isystem for the various libc include directories, but
> you
> may not need to do this at all.
>
> I'll update the help in the Android.mk file to make this more clear once
> you
> get this working.
>
> > I've tried this, but without success yet...
>
> config.log shows this:
>
> arm-eabi-gcc: lm: No such file or directory
> arm-eabi-gcc:
> /home/jb/sdk/android/mydroid/ndk/build/platforms/android-4/arch-arm/usr/lib/crtbegin_dynamic.0:
> No such file or directory
> arm-eabi-gcc: -E or -x required when input is from standard input
>
> Somehow a space got added after the - in -lm.
>
> >>> Dan
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>

-- 
Jb Collet
-----------------------------------------------------------
Student - Master 2
University of Namur
phone: +32 499 35 43 37
email:  collet.jb_at_gmail.com
-----------------------------------------------------------

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-06-23