[webkit-dev] JSImmediate.h 64 bit compatibility problem?
I see the following code, which works for 32 bit but not 64 bit. Is there another file or function somewhere that's for 64 bit? static bool isNegative(const JSValue* v) { ASSERT(isNumber(v)); return reinterpret_castuintptr_t(v) 0x8000; } ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Building Webkit with cygwin failed
Thanks for your reply! I had changed the order of the VC++ directory in the path list, it works. But another two errors occur, please help. My english is very poor, if there has some impolite or wrong word, please forgive me. Here is the ImageDiff and testapi's Build Log. --- Build Log Build started: Project: ImageDiff, Configuration: Debug|Win32 Command Lines Build machine environment variables may not be correct. Creating temporary file C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\BAT1B32602216.bat with contents [ @echo off set PATH=%SystemDrive%\cygwin\bin;%PATH% if exist C:\cygwin\home\teng\WebKit\WebKitBuild\buildfailed grep XXImageDiffXX C:\cygwin\home\teng\WebKit\WebKitBuild\buildfailed if errorlevel 1 exit 1 echo XXImageDiffXX C:\cygwin\home\teng\WebKit\WebKitBuild\buildfailed if errorlevel 1 goto VCReportError goto VCEnd :VCReportError echo Project : error PRJ0019: A tool returned an error code from Performing Pre-Build Event... exit 1 :VCEnd ] Creating command line C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\BAT1B32602216.bat Creating temporary file C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\RSP1C32602216.rsp with contents [ /OUT:C:\cygwin\home\teng\WebKit\WebKitBuild\bin\ImageDiff_debug.exe /INCREMENTAL /LIBPATH:C:\cygwin\home\teng\WebKit\WebKitBuild\lib /LIBPATH:C:\cygwin\home\teng\WebKit\WebKitLibraries\win\lib /MANIFEST /MANIFESTFILE:C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\ImageDiff_debug.exe.intermediate.manifest /DEBUG /PDB:c:\cygwin\home\teng\WebKit\WebKitBuild\bin\ImageDiff_debug.pdb /SUBSYSTEM:CONSOLE /IMPLIB:C:\cygwin\home\teng\WebKit\WebKitBuild\lib\ImageDiff_debug.lib /MACHINE:X86 /SAFESEH /FIXED:NO /dynamicbase CoreGraphics.lib CoreFoundation.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\WebKitBuild\obj\ImageDiff\Debug\ImageDiffCG.obj ..\..\..\WebKitBuild\obj\ImageDiff\Debug\ImageDiff_debug.exe.embed.manifest.res ] Creating command line link.exe @C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\RSP1C32602216.rsp /NOLOGO /ERRORREPORT:QUEUE Creating temporary file C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\RSP1D32602216.rsp with contents [ /out:..\..\..\WebKitBuild\obj\ImageDiff\Debug\ImageDiff_debug.exe.embed.manifest /notify_update /manifest ..\..\..\WebKitBuild\obj\ImageDiff\Debug\ImageDiff_debug.exe.intermediate.manifest ] Creating command line mt.exe @C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\RSP1D32602216.rsp /nologo Creating temporary file C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\BAT1E32602216.bat with contents [ @echo Manifest resource last updated at %TIME% on %DATE% ..\..\..\WebKitBuild\obj\ImageDiff\Debug\mt.dep ] Creating command line C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\BAT1E32602216.bat Creating temporary file C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\TMP1F32602216.tmp with contents [ 1 /* CREATEPROCESS_MANIFEST_RESOURCE_ID */ 24 /* RT_MANIFEST */ ..\\..\\..\\WebKitBuild\\obj\\ImageDiff\\Debug\\ImageDiff_debug.exe.embed.manifest ] Creating command line rc.exe /fo..\..\..\WebKitBuild\obj\ImageDiff\Debug\ImageDiff_debug.exe.embed.manifest.res C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\TMP1F32602216.tmp Creating temporary file C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\RSP2032602216.rsp with contents [ /OUT:C:\cygwin\home\teng\WebKit\WebKitBuild\bin\ImageDiff_debug.exe /INCREMENTAL /LIBPATH:C:\cygwin\home\teng\WebKit\WebKitBuild\lib /LIBPATH:C:\cygwin\home\teng\WebKit\WebKitLibraries\win\lib /MANIFEST /MANIFESTFILE:C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\ImageDiff_debug.exe.intermediate.manifest /DEBUG /PDB:c:\cygwin\home\teng\WebKit\WebKitBuild\bin\ImageDiff_debug.pdb /SUBSYSTEM:CONSOLE /IMPLIB:C:\cygwin\home\teng\WebKit\WebKitBuild\lib\ImageDiff_debug.lib /MACHINE:X86 /SAFESEH /FIXED:NO /dynamicbase CoreGraphics.lib CoreFoundation.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\WebKitBuild\obj\ImageDiff\Debug\ImageDiffCG.obj ..\..\..\WebKitBuild\obj\ImageDiff\Debug\ImageDiff_debug.exe.embed.manifest.res ] Creating command line link.exe @C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\RSP2032602216.rsp /NOLOGO /ERRORREPORT:QUEUE Build machine environment variables may not be correct. Build machine environment variables may not be correct. Creating temporary file C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\BAT2132602216.bat with contents [ @echo off if exist C:\cygwin\home\teng\WebKit\WebKitBuild\buildfailed del C:\cygwin\home\teng\WebKit\WebKitBuild\buildfailed mkdir 2NUL
Re: [webkit-dev] JSImmediate.h 64 bit compatibility problem?
On Jun 30, 2008, at 1:22 PM, Paul Pedriana wrote: I see the following code, which works for 32 bit but not 64 bit. Is there another file or function somewhere that's for 64 bit? JSImmediates are 32 bit, even on 64 bit platforms. What is the problem that you are seeing? - WBR, Alexey Proskuryakov ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Building Webkit with cygwin failed
Well I see this output: File not found - CoreFoundation.dll 0 File(s) copied Which is caused by this command: xcopy /y /d "C:\cygwin\home\teng\WebKit\WebKitLibraries\win\bin\CoreFoundation.dll" "C:\cygwin\home\teng\WebKit\WebKitBuild\bin" Does the CoreFoundation.dll file exist in the xcopy source location? I can't recall how that .dll file and its siblings get to be in that directory, but in the meantime I think you could manually place them there. Paul Thanks for your reply! I had changed the order of the VC++ directory in the path list, it works. But another two errors occur, please help. My english is very poor, if there has some impolite or wrong word, please forgive me. Here is the ImageDiff and testapi's Build Log. --- Build Log Build started: Project: ImageDiff, Configuration: Debug|Win32 Command Lines Build machine environment variables may not be correct. Creating temporary file "C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\BAT1B32602216.bat" with contents [ @echo off set PATH=%SystemDrive%\cygwin\bin;%PATH% if exist "C:\cygwin\home\teng\WebKit\WebKitBuild\buildfailed" grep XXImageDiffXX "C:\cygwin\home\teng\WebKit\WebKitBuild\buildfailed" if errorlevel 1 exit 1 echo XXImageDiffXX "C:\cygwin\home\teng\WebKit\WebKitBuild\buildfailed" if errorlevel 1 goto VCReportError goto VCEnd :VCReportError echo Project : error PRJ0019: A tool returned an error code from "Performing Pre-Build Event..." exit 1 :VCEnd ] Creating command line "C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\BAT1B32602216.bat" Creating temporary file "C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\RSP1C32602216.rsp" with contents [ /OUT:"C:\cygwin\home\teng\WebKit\WebKitBuild\bin\ImageDiff_debug.exe" /INCREMENTAL /LIBPATH:"C:\cygwin\home\teng\WebKit\WebKitBuild\lib" /LIBPATH:"C:\cygwin\home\teng\WebKit\WebKitLibraries\win\lib" /MANIFEST /MANIFESTFILE:"C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\ImageDiff_debug.exe.intermediate.manifest" /DEBUG /PDB:"c:\cygwin\home\teng\WebKit\WebKitBuild\bin\ImageDiff_debug.pdb" /SUBSYSTEM:CONSOLE /IMPLIB:"C:\cygwin\home\teng\WebKit\WebKitBuild\lib\ImageDiff_debug.lib" /MACHINE:X86 /SAFESEH /FIXED:NO /dynamicbase CoreGraphics.lib CoreFoundation.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib "..\..\..\WebKitBuild\obj\ImageDiff\Debug\ImageDiffCG.obj" "..\..\..\WebKitBuild\obj\ImageDiff\Debug\ImageDiff_debug.exe.embed.manifest.res" ] Creating command line "link.exe @C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\RSP1C32602216.rsp /NOLOGO /ERRORREPORT:QUEUE" Creating temporary file "C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\RSP1D32602216.rsp" with contents [ /out:..\..\..\WebKitBuild\obj\ImageDiff\Debug\ImageDiff_debug.exe.embed.manifest /notify_update /manifest ..\..\..\WebKitBuild\obj\ImageDiff\Debug\ImageDiff_debug.exe.intermediate.manifest ] Creating command line "mt.exe @C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\RSP1D32602216.rsp /nologo" Creating temporary file "C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\BAT1E32602216.bat" with contents [ @echo Manifest resource last updated at %TIME% on %DATE% ..\..\..\WebKitBuild\obj\ImageDiff\Debug\mt.dep ] Creating command line "C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\BAT1E32602216.bat" Creating temporary file "C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\TMP1F32602216.tmp" with contents [ 1 /* CREATEPROCESS_MANIFEST_RESOURCE_ID */ 24 /* RT_MANIFEST */ "..\\..\\..\\WebKitBuild\\obj\\ImageDiff\\Debug\\ImageDiff_debug.exe.embed.manifest" ] Creating command line "rc.exe /fo"..\..\..\WebKitBuild\obj\ImageDiff\Debug\ImageDiff_debug.exe.embed.manifest.res" C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\TMP1F32602216.tmp" Creating temporary file "C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\RSP2032602216.rsp" with contents [ /OUT:"C:\cygwin\home\teng\WebKit\WebKitBuild\bin\ImageDiff_debug.exe" /INCREMENTAL /LIBPATH:"C:\cygwin\home\teng\WebKit\WebKitBuild\lib" /LIBPATH:"C:\cygwin\home\teng\WebKit\WebKitLibraries\win\lib" /MANIFEST /MANIFESTFILE:"C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\ImageDiff_debug.exe.intermediate.manifest" /DEBUG /PDB:"c:\cygwin\home\teng\WebKit\WebKitBuild\bin\ImageDiff_debug.pdb" /SUBSYSTEM:CONSOLE /IMPLIB:"C:\cygwin\home\teng\WebKit\WebKitBuild\lib\ImageDiff_debug.lib" /MACHINE:X86 /SAFESEH /FIXED:NO /dynamicbase CoreGraphics.lib CoreFoundation.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib "..\..\..\WebKitBuild\obj\ImageDiff\Debug\ImageDiffCG.obj"
Re: [webkit-dev] Building Webkit with cygwin failed
On Mon, Jun 30, 2008 at 12:13 PM, Paul Pedriana [EMAIL PROTECTED] wrote: Does the CoreFoundation.dll file exist in the xcopy source location? I can't recall how that .dll file and its siblings get to be in that directory, but in the meantime I think you could manually place them there. As Paul pointed out, you are missing libraries needed to build. Did you read the instructions on http://webkit.org/building/checkout.html; for getting the sources? If you ran the update-webkit script from Cygwin, it should have downloaded the various DLL's needed to build. Make sure that the WebKitTools/Scripts directory is in your path, and that you are using the build-webkit and other commands. These set up the paths needed to build properly. Please read http://trac.webkit.org/wiki/BuildingOnWindows; as well, to see if you forgot to set any environment variables. Good luck! -Brent ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Building Webkit with cygwin failed
I had checked out the WebKit source tree, and executed the update-webkit script successfully.But there isn't a 'bin' folder in my 'WebKit\WebKitLibraries\win\' directory, there are only 'includes', 'lib' and 'tools' folders. Did i miss something? or it should be created in the building process? Thank you. Paul Pedriana-3 wrote: Well I see this output: gt;gt; File not found - CoreFoundation.dll gt;gt; 0 File(s) copied Which is caused by this command: gt;gt; xcopy /y /d C:\cygwin\home\teng\WebKit\WebKitLibraries\win\bin\CoreFoundation.dll C:\cygwin\home\teng\WebKit\WebKitBuild\bin Does the CoreFoundation.dll file exist in the xcopy source location? I can't recall how that .dll file and its siblings get to be in that directory, but in the meantime I think you could manually place them there. Paul ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev -- View this message in context: http://www.nabble.com/Building-Webkit-with-cygwin-failed-tp18189797p18207681.html Sent from the Webkit mailing list archive at Nabble.com. ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Building Webkit with cygwin failed
Thanks for your reply! I had checked out the WebKit source tree, and executed the update-webkit script successfully.But there still doesn't have a 'bin' folder in my 'WebKit\WebKitLibraries\win\' directory, and i think i didn't miss anything wrote in the http://webkit.org/building/checkout.html; and http://trac.webkit.org/wiki/BuildingOnWindows; instructions. My question is where is the 'bin' folder's contents come from? Be Downloaded from the server or be copied from the safari's install directory. Brent Fulgham-2 wrote: On Mon, Jun 30, 2008 at 12:13 PM, Paul Pedriana [EMAIL PROTECTED] wrote: Does the CoreFoundation.dll file exist in the xcopy source location? I can't recall how that .dll file and its siblings get to be in that directory, but in the meantime I think you could manually place them there. As Paul pointed out, you are missing libraries needed to build. Did you read the instructions on http://webkit.org/building/checkout.html; for getting the sources? If you ran the update-webkit script from Cygwin, it should have downloaded the various DLL's needed to build. Make sure that the WebKitTools/Scripts directory is in your path, and that you are using the build-webkit and other commands. These set up the paths needed to build properly. Please read http://trac.webkit.org/wiki/BuildingOnWindows; as well, to see if you forgot to set any environment variables. Good luck! -Brent ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev -- View this message in context: http://www.nabble.com/Building-Webkit-with-cygwin-failed-tp18189797p18208053.html Sent from the Webkit mailing list archive at Nabble.com. ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev