Comment #7 on issue 429 by jardasmid: x86_64 not detected (patch)
http://code.google.com/p/v8/issues/detail?id=429

In current revision, there is this in utils.py:

def GuessArchitecture():
  id = platform.machine()
  if id.startswith('arm'):
    return 'arm'
  elif (not id) or (not re.match('(x|i[3-6])86', id) is None):
    return 'ia32'
  elif id == 'i86pc':
    return 'ia32'
  elif id == 'amd64':
    return 'x64'
  else:
    return None

Problem is, that on Windows 7 x64 with 64bit python, platform.machine() returns
'AMD64' (capitals letters) so I suggest using this:

...
elif id == 'amd64' or id == 'AMD64':
  return 'x64'
...

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

Reply via email to