[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[Libevent-users] Building for Android
- To: libevent-users@xxxxxxxx
- Subject: [Libevent-users] Building for Android
- From: Daniel Rönnqvist <daniel.ronnqvist@xxxxxxxxx>
- Date: Wed, 18 May 2011 15:51:14 +0200
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: libevent-users@xxxxxxxx
- Delivery-date: Wed, 18 May 2011 09:51:20 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=pdfoYpgHu3CZ94fED0VZ8Zt8pXgThWgKZbh0k9pmp+U=; b=gm2tX6Zi0gLB5T145L/BIObyFE1k6DD0/p42hq42Xv6eHnZcvSKmmWoJcYu+4/L4Z8 Ef+1j+XYac0iw86SygRxgF42rQVBTv8SoYT2O18p+kSW6FKHGYDMxpAWl21xvwg7PYQg DJl5+qDbqBjkLwt3LFKaAj8gbNznNqR2cswQQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=JqTYkHmO6h/8dFwLtkVUkwRRDuStPxGTfRkBxDM7hfwpm5C+lWlELNNhvFobxVz3sE Q+Lx4VkuntRaOaCc42gJp6N96rAOkm6cZq/1gb+HgEC5fYolhP2d3jLSSUc4cEXunUFc 6evzvcQQRPpQ+dxQJ3Vu6pUVJ2zBHf6Iss/jI=
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
Hello.
I'm trying to build libevent for Android from Cygwin and is
experiencing some problems.
I've tried running configure with the following line:
./configure -host=arm-eabi CC=arm-linux-androideabi-gcc
CPPFLAGS="-I$NDK_ROOT/platforms/android-9/arch-arm/usr/include/"
CFLAGS="-nostdlib"
LDFLAGS="-Wl,-rpath-link=$NDK_ROOT/platforms/android-9/arch-arm/usr/lib/
-L$NDK_ROOT/platforms/android-9/arch-arm/usr/lib/" LIBS="-lc"
It seems to work except that the Makefile is generated as if I'm
compiling for a Windows host, using arm compilers :)
Is there a quick fix for this or do I need to write my own Android Makefile?
Tomorrow I'm going to try to build it from Linux and see if that works
better but it would be nice to know how to make this work in Cygwin.
BR,
Daniel
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.