Please follow http://code.google.com/p/v8/wiki/D8OnAndroid to build V8
for Android.

You should use "make [android_ia32 | android_arm].[debug | release]
-jN" to build V8 for Android
after setting up the ANDROID_NDK_ROOT variable.

Thanks
-Haitao

On Fri, Sep 7, 2012 at 4:10 PM,  <[email protected]> wrote:
> Status: New
> Owner: ----
>
> New issue 2324 by [email protected]: make android is not working due to
> false toolchain path
> http://code.google.com/p/v8/issues/detail?id=2324
>
> Hey everyone,
>
> if you try to build for android you will get some errors due to the
> incorrect $ANDROID_TOOLCHAIN_PREFIX inside the Makefile:
>
> christoph@christoph-c2de:/var/www/lycheeJS-adk/external/v8$ export
> ANDROID_NDK_ROOT=/var/www/android-ndk && make android
>
> GYP_GENERATORS=make \
>
> CC="/var/www/android-ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc"
> \
>
> CXX="/var/www/android-ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-g++"
> \
>
>
> The fix for this is to change Line 37 to:
>
> ANDROID_TOOL_PREFIX =
> $(ANDROID_NDK_ROOT)/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi
>
>
> ~Cheers!
>
>
> --
> v8-dev mailing list
> [email protected]
> http://groups.google.com/group/v8-dev

-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to