[Webkit-unassigned] [Bug 23580] New: Add support for GNU mode RVCT compilation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 27 18:52:47 PST 2009


           Summary: Add support for GNU mode RVCT compilation
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Other
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: laszlo.1.gombos at nokia.com

WebKit today does not compile with RVCT. Various patches has been landed in the
past to make steps toward a successful RVCT (ARM C) compilation. This is
proposal for another step to the right direction.

RVCT has a compiler option (called --gnu) which turns on "GNU compatibility".
The --gnu option makes RVCT behave more like (but not exactly as) GCC, and it
compiles most (but not all) of the WebKit code without changes. 

However the RVCT --gnu option also defines __GNUC__, which makes COMPILER(GCC)
defined as well (in addition to COMPILER(RVCT). This makes two compiler defined
at the same time, which is confusing and also makes it harder to flag those few
code blocks in WebKit that does not compile with GNU mode RVCT.

The proposal is not to define COMPILER(GCC) if WebKit is compiled with RVCT
--gnu option. In addition, we should use COMPILER(GCC) consistently across
WebKit to mark GCC specific code (instead of using defined __GNUC__).

Patch will follow.. Laszlo.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list