I've never heard of anyone trying to cross-compile V8 for ARM on Windows. I have no idea if it is possible. You're welcome to try it, and contribute patches and/or documentation if/when you find out anything.
On Mon, Oct 7, 2013 at 3:57 PM, Mihail Slavchev <[email protected]>wrote: > Hi Rodolph, > > Thank you for the quick response. I've read the suggested wiki and > http://code.google.com/p/v8/wiki/D8OnAndroid as well but I couldn't find > any info about cross compiling V8 for ARM on Windows. There is info about > cross compiling V8 for ARM on Linux, though. Unfortunately, this is not my > scenario. > > I start to think that cross compiling V8 for ARM on Windows is not > supported option, though I don't see any reasons for this. I guess I am > missing something. > > > > On Mon, Oct 7, 2013 at 3:40 PM, Rodolph Perfetta < > [email protected]> wrote: > >> Have read the wiki: https://code.google.com/p/v8/wiki/BuildingWithGYP >> >> Cheers, >> Rodolph. >> >> >> On 7 October 2013 12:30, Mihail Slavchev <[email protected]>wrote: >> >>> Hello, >>> >>> I am trying to compile V8 for ARM using cygwin and ndk-r9. I get the >>> following error: >>> >>> CXX(host) >>> /home/slavchev/test/node/deps/v8/out/android_arm.release/obj.host/v8_base.arm/src/platform-posix.o >>> CXX(host) >>> /home/slavchev/test/node/deps/v8/out/android_arm.release/obj.host/v8_base.arm/src/platform-linux.o >>> /tmp/cchi7mgX.s: Assembler messages: >>> /tmp/cchi7mgX.s:729: Error: no such instruction: `rev16 %ax,%ax' >>> /tmp/cchi7mgX.s:2111: Error: no such instruction: `rev16 %ax,%ax' >>> /tmp/cchi7mgX.s:2128: Error: no such instruction: `rev16 %ax,%ax' >>> /tmp/cchi7mgX.s:2145: Error: no such instruction: `rev %eax,%eax' >>> /tmp/cchi7mgX.s:2162: Error: no such instruction: `rev %eax,%eax' >>> tools/gyp/v8_base.arm.host.android_arm.mk:260: recipe for target >>> `/home/slavchev/test/node/deps/v8/out/android_arm.release/obj.host/v8_base.arm/src/platform-posix.o' >>> failed >>> >>> I tried setting different arm architectures as follows >>> >>> export CCFLAGS="-march=armv5" >>> and >>> export CCFLAGS="-march=armv7" >>> >>> but it didn't help. >>> >>> My GYP knowledge is very poor and I am looking for a guide/article how >>> to compile V8 for ARM on Windows. Any help is appreciated. >>> >>> >>> Thanks, >>> Mihail >>> >>> > -- -- 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.
