Hi, I'm trying to build v8 for an Android device (specifically Sony Xperia S). I was able to build a cross compile toolchain `arm-unknown-linux-gnueabi` on OS X using crosstool-ng. As the next steps I did:
Download and install an NDK wget http://dl.google.com/android/ndk/android-ndk-r8d-linux-x86.tar.bz2 tar xjf android-ndk-r8d-linux-x86.tar.bz2 rm android-ndk-r8d-linux-x86.tar.bz2 export ANDROID_NDK_ROOT=$(find $(pwd) -name "android-ndk-r8d" ) Prepare v8 git clone git://github.com/v8/v8.git make dependencies Export export CXX=/Volumes/cross/working/arm-unknown-linux-gnueabi/buildtools/bin/x86_64-build_apple-darwin12.2.1-g++ export LINK=/Volumes/cross/working/arm-unknown-linux-gnueabi/buildtools/bin/x86_64-build_apple-darwin12.2.1-g++ export ANDROID_NDK_ROOT=/Users/oschrenk/SDKs/android-ndk-r8d When trying to build make android_arm.release I get CXX(target) /Users/oschrenk/Projekte/external/v8/out/android_arm.release/obj.target/preparser_lib/src/allocation.o cc1plus: error: unrecognized command line option "-mfpu=vfp3" ../src/allocation.cc:1: error: bad value (armv7-a) for -march= switch ../src/allocation.cc:1: error: bad value (cortex-a8) for -mtune= switch make[2]: *** [/Users/oschrenk/Projekte/external/v8/out/android_arm.release/obj.target/preparser_lib/src/allocation.o] Error 1 make[1]: *** [android_arm.release] Error 2 make: *** [android_arm.release] Error 2 Any ideas what am I missing and how to go from there? Best regards Oliver -- -- 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.
