Thank Sven and Rodolph for the suggestions. Indeed, lots of constants ending with "UL" or "L" need to be changed for Windows build which assumes 32-bit for "long".
In fact, it would be better to use "ULL" and "LL", which guarantees 64-bit on both LP64 and LLP64 systems. The bitwidth for "long" is the only difference between the two. On Fri, Aug 8, 2014 at 3:04 AM, Rodolph Perfetta <[email protected] > wrote: > There is nothing fundamentally preventing an LLP64 system to build/run > arm64 but it was never tested hence not supported. Some re-factoring is > probably required (don't forget constants). As Sven said, patches welcome. > > > > On 8 August 2014 07:21, Sven Panne <[email protected]> wrote: > >> On Thu, Aug 7, 2014 at 11:50 PM, Prince Wall <[email protected]> >> wrote: >> >>> [...] 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? >>> >> >> I'm not sure if anybody has tried to build ARM64 stuff on WIndows yet, so >> it's quite probable that there are bugs in this combination. Patches >> accepted... ;-) >> >> One more point: Support for VS 2012 is on death row, you'll need VS 2013 >> soon. >> >> -- >> -- >> 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/d/optout. >> > > -- > -- > v8-users mailing list > [email protected] > http://groups.google.com/group/v8-users > --- > You received this message because you are subscribed to a topic in the > Google Groups "v8-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/v8-users/1DZPKQlIW7A/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- 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/d/optout.
