Hi Søren, I run scons from vs2005 x64 command prompt and it still return the error. See the output below. It seems that I must move to a x64 host to build the 64bit v8 lib.
H:\chrome\chromium.r64719\home\chrome-svn\tarball\chromium\src\v8>cl Microsoft (R) C/C++ Optimizing Compiler Version 14.00.50727.762 for x64 Copyright (C) Microsoft Corporation. All rights reserved. usage: cl [ option... ] filename... [ /link linkoption... ] H:\chrome\chromium.r64719\home\chrome-svn\tarball\chromium\src\v8>scons mode=rel ease arch=x64 scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... cl /Foobj\release\dtoa-config.obj /c src\dtoa-config.c /nologo /WX /wd4018 /wd42 44 /MT /O2 /GL /DWIN32 /DV8_TARGET_ARCH_X64 /DENABLE_VMSTATE_TRACKING /DENABLE_L OGGING_AND_PROFILING /DENABLE_DEBUGGER_SUPPORT /Isrc /Zi dtoa-config.c cl /Foobj\release\accessors.obj /c src\accessors.cc /nologo /W3 /WX /wd4355 /wd4 800 /MT /O2 /GL /GR- /Gy /nologo /W3 /WX /wd4355 /wd4800 /MT /O2 /GL /DWIN32 /DV 8_TARGET_ARCH_X64 /DENABLE_VMSTATE_TRACKING /DENABLE_LOGGING_AND_PROFILING /DENA BLE_DEBUGGER_SUPPORT /Isrc /Zi accessors.cc h:\chrome\chromium.r64719\home\chrome-svn\tarball\chromium\src\v8\src\globals.h( 85) : fatal error C1189: #error : Target architecture x64 is only supported on x64 host scons: *** [obj\release\accessors.obj] Error 2 scons: building terminated because of errors. Best Regards, Kenny 2011/1/4 Søren Gjesse <[email protected]> > It is possible to build the 64bit Windows version on 32bit Windows if you > have the 64bit tools installed. Open the Win64 Command prompt or run > "vcvarsall.bat amd64" to set up the correct C++ compiler. Type "cl" to see > whether the compiler is for 80x64 or x64. > > Regards, > Søren > > On Tue, Jan 4, 2011 at 10:43, hua ye <[email protected]> wrote: > >> Dears, >> >> I got error when build v8 with scons: >> >> scons mode=release arch=x64 >> >> in a 32bit windows machine with vs2005 installed? >> >> Does this mean I must build v8 in a 64bit machine to get the 64bit >> library? >> >> -- >> v8-users mailing list >> [email protected] >> http://groups.google.com/group/v8-users > > > -- > v8-users mailing list > [email protected] > http://groups.google.com/group/v8-users -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
