[webkit-help] JSC: Building win32 in 2008
aroben at apple.com
Tue Jan 24 10:04:52 PST 2012
On Jan 24, 2012, at 12:38 PM, Brian Barnes wrote:
> Let me apologize for the flood of emails to this list, but I'm learning to build on different systems and hopefully the troubles I've found can be used to update some of the instructions or make their way back to the code.
> Next up, the win32 2008 build. I've having problems with JSC not working on certain machines, so I need to build it myself, and all my other code is in 2008.
> First, an important note: The download for cygwin on the webkit.org page defaults to leave out some very important libraries that you'll need to compile. You might want to enhance the instructions to tell people to make sure they put an "install" on at least these: archive/devel/perl/net
Are you referring to Cygwin packages when you say "libraries"? The Cygwin downloader we offer on <http://www.webkit.org/building/tools.html> is supposed to install all required Cygwin packages. If there are packages missing, please file a bug at http://webkit.org/new-bug and CC me so we can fix it.
> I've made these changes, and got most everything to compile:
> 1) Turned off treat warning as errors and added warning 4396 to be ignored. This is because 2008 seems to be flaky about how the templates are setup with inline
This is <https://bugs.webkit.org/show_bug.cgi?id=34804>.
> I'm using the Cario_CFLite build.
Maybe Brent can comment on why this is required.
> The line:
> #if USE(CF)
> #include <CoreFoundation/CoreFoundation.h>
> Now, corefoundation exists in the QT SDK, but not under that path (it's outside of the CoreFoundation directory.)
> So, the question is (hopefully Brent is around :) ), is this code supposed to be compiled, and why is it this way?
Do you have CFLite installed somewhere where the build can find it?
More information about the webkit-help