That turned out to be a bug in the SConstruct file where the content of the env argument was not passed when building D8. This has been fixed in bleeding_edge revision 3574.
By the way if you are using the Visual Studio vcvarsall.bat (or the Visual Studio 2008 Command Prompt shortcut) it will set the INCLUDE and LIB environment variables you can pass env like this: scons env="INCLUDE:%INCLUDE%,LIB:%LIB%" d8 which is much shorter. The same command can be used to build the 64bit version after running "vcvarsall.bat amd64" Regards, Søren On Sun, Jan 10, 2010 at 09:12, abc user <[email protected]> wrote: > I get the following error message when I build d8: > > fatal error C1007: unrecognized flag '-typedil' in 'p2' > LINK : fatal error LNK1257: code generation failed > scons: *** [d8.exe] Error 1257 > scons: building terminated because of errors. > > I'm using visual studio 2008, and here is the command line I'm using > to build the d8: > C:\v8>scons env="PATH:C:\Program Files\Microsoft Visual Studio 9.0\VC > \bin;C:\Program Files\Microsof > t Visual Studio 9.0\Common7\IDE;C:\Program Files\Microsoft Visual > Studio 9.0\Common7\Tools,INCLUDE:C:\Program Files\Micr > osoft Visual Studio 9.0\VC\include;C:\Program Files\Microsoft SDKs > \Windows\v6.0A\Include,LIB:C:\Program Files\Microsoft > Visual Studio 9.0\VC\lib;C:\Program Files\Microsoft SDKs\Windows\v6.0A > \Lib" d8 > > > any help, please? > > -- > 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
