Bug 16507 - Build is broken with GCC on Windows
Summary: Build is broken with GCC on Windows
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL:
Keywords: Gtk
Depends on:
Blocks:
 
Reported: 2007-12-18 12:53 PST by Alp Toker
Modified: 2015-05-07 16:21 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alp Toker 2007-12-18 12:53:59 PST
There seem to be a few places where Windows code paths are selected using COMPILER(MSVC). This doesn't hold true when building the GTK+ port using GCC on Windows.
Comment 1 Alp Toker 2007-12-18 13:00:48 PST
Problem areas in WebCore are:

DateMath.cpp (localtime usage)

TCSpinLock.h (tests for MSVC)

FTPDirectoryDocument.cpp
FTPDirectoryParser.cpp (had to ifdef out a block here)

To get the GTK+ port building (not directly related to this bug, but here for the record):

Replaced the Freetype text code with a no-op backend (since my toolchain didn't come with FreeType for Windows and it'd result in non-native text rendering)

FileChooserGtk.cpp and LocalizedStringsGtk.cpp were using GNU intl stuff which I think these days is well-ported to Windows but which I was avoiding out of habit.

Made changes to WebKit.pri to avoid some curl-config/icu-config/pkg-config calls.


The Windows machine with the patches isn't here with me right now but the fixes were fairly obvious.
Comment 2 Alexander Butenko 2009-06-22 20:04:39 PDT
Bug is couple years old. Webkitgtk+ runs fine on windows now afaik.
Comment 3 Dale 2009-12-20 16:24:10 PST
I shouldn't really comment in this bug thread but does any know of build for windows that is available?
Comment 4 Christian Dywan 2009-12-21 13:47:14 PST
(In reply to comment #3)
> I shouldn't really comment in this bug thread but does any know of build for
> windows that is available?

Yes. The openSUSE builds are very good.

http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_11.2/noarch/
Comment 5 Martin Robinson 2015-05-07 16:21:15 PDT
This bug is pretty old and a lot has changed in the last 8 years.