Well that were two days down the drain. Using the correct NDK for my 
platform helped of course. I don't know how I missed that.

So if anybody else stumbles upon this post. Here is how to build v8 shared 
library form ARM on OS X:

Download and install an NDK

wget http://dl.google.com/android/ndk/android-ndk-r8d-darwin-x86.tar.bz2
tar xjf android-ndk-r8d-darwin-x86.tar.bz2
rm android-ndk-r8d-darwin-x86.tar.bz2
export ANDROID_NDK_ROOT=$(find $(pwd) -name "android-ndk-r8d" )

Prepare v8

git clone git://github.com/v8/v8.git
cd v8
make dependencies

Build shared library for ARM

make -j8 GYPFLAGS="-Dcomponent=shared_library" android_arm.release


Thanks!


On Thursday, 7 March 2013 22:13:49 UTC+1, Jakob Kummerow wrote:
>
> There should be no need to use your own toolchain, as the Android NDK 
> ships with one. Since you're working on OSX, why did you download the NDK 
> for Linux? Please try again with the toolchain that comes with the Android 
> NDK for Mac (just unset your CXX/LINK variables, as it will be used 
> automatically when ANDROID_NDK_ROOT is set correctly).
>
> See also https://code.google.com/p/v8/wiki/D8OnAndroid.
>

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to