I am able to build d8 easily using the Visual Studio 2012 solution files generated by "python build/gyp_v8 -Dtarget_arch=arm". However, when I generate solutions files with "-Dtarget_arch=arm64", build always fails.
As required by the following macros inside [v8]/src/base/build_config.h:
#if (V8_TARGET_ARCH_ARM64 && !(V8_HOST_ARCH_X64 || V8_HOST_ARCH_ARM64))
#error Target architecture arm64 is only supported on arm64 and x64 host
#endif
I used "New Solution Platform" to x64 inside BUILD/Configuration Manager.
However, from [v8]\src\arm64\constants-arm64.h, it says "Assert that this is an LP64 system" and uses type "long" a lot, assuming it is 64-bit. However, Windows x64 is LLP64 system and has "long" as 32-bit. Does this mean that we cannot use target_arch=arm64 on Windows host?
Thanks,
Prince