2009/4/22 Søren Gjesse <[email protected]>

> Copying my response from another thread.
> The reason for this behavior is most likely caused by both Microsoft Visual
> Studio and MinGW being installed. The current SCons setup for V8 depends on
> the SCons autodetecting the toolchain, where MSVC is preferred over MinGW.
> You could try patching SConstruct and src/SConscript files adding tools =
> ['mingw'] to Environment() calls (Environment(tools = ['mingw'])).
> On a Windows installation with only MinGW installed V8 SCons build does not
> cause problems.
>
>

 OK thanks, much progress has been made now.   I have tried that but this is
the result when I run scons after successfully compiling most of the
modules:

g++ -o obj\release\platform-win32.o -c -Wall -Werror -W
-Wno-unused-parameter -pedantic -Wno-long-long -O3 -fomit-frame-pointer
-fdata-sections -ffunction-sections -DWIN32 -fno-rtti -fno-exceptions
-DWIN32 -Wall -Werror -W -Wno-unused-parameter -pedantic -Wno-long-long -O3
-fomit-frame-pointer -fdata-sections -ffunction-sections -DWIN32
-DENABLE_LOGGING_AND_PROFILING src\platform-win32.cc
src\platform-win32.cc: In member function `virtual bool
v8::internal::Win32Socket::Connect(const char*, const char*)':
src\platform-win32.cc:1653: error: `getaddrinfo' was not declared in this
scope
src\platform-win32.cc:1660: error: `freeaddrinfo' was not declared in this
scope
src\platform-win32.cc:1653: warning: unused variable 'getaddrinfo'
src\platform-win32.cc:1660: warning: unused variable 'freeaddrinfo'
scons: *** [obj\release\platform-win32.o] Error 1
scons: building terminated because of errors.

Any ideas how to resolve this one?

-Qu0ll

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

Reply via email to