Closed Bug 479584 Opened 15 years ago Closed 13 years ago

Compile XPCOM for Symbian

Categories

(Core :: XPCOM, defect)

ARM
Symbian
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: christian.bugzilla, Unassigned)

References

Details

(Keywords: mobile)

Attachments

(2 files)

      No description provided.
Attached patch WIP1Splinter Review
Work in progress.
Assignee: nobody → christian.bugzilla
Status: NEW → ASSIGNED
Blocks: 432606
Assignee: christian.bugzilla → nobody
Component: General → XPCOM
Product: Fennec → Core
QA Contact: general → xpcom
(In reply to comment #1)
> Created an attachment (id=363468) [details]
> WIP1
> 
> Work in progress.

Which build system are you using to compile the patched XPCOM? MSYS with Makefile or a .MMP file with Symbian build system?
Keywords: mobile
Need implement Symbian specification code of SpecialSystemDirectory.cpp, nsAppFileLocationProvider.cpp, nsDirectoryService.cpp, and nsNativeCharsetUtils.cpp.

About nsILocalFile, do we use nsLocalFileUnix.cpp using Open C?
(In reply to comment #2)
> (In reply to comment #1)
> > Created an attachment (id=363468) [details] [details]
> > WIP1
> > 
> > Work in progress.
> 
> Which build system are you using to compile the patched XPCOM? MSYS with
> Makefile or a .MMP file with Symbian build system?

Currently with .MMP but I am working on getting it to work with make/autoconf like NSPR.
The changes are made for the XPCOM and built with Symbian build system ( ie; mmp files + bld.inf )

There is one bug in the epoc32 header file.
 
epoc32\include\stdapis\sys\cdefs.h
 
/*
 * We define this here since <stddef.h>, <sys/queue.h>, and <sys/types.h>
 * require it.
 */
#if defined(__cplusplus) || defined(__SYMBIAN32__)
#define                __offsetof(type, field)  ((size_t)(&((type *)0)->field))
#else
#define __offsetof(type, field)                                                                 \
  (__offsetof__ (reinterpret_cast <size_t>                                           \
                 (&reinterpret_cast <const volatile char &>          \
                  (static_cast<type *> (0)->field))))
#endif
#define                __rangeof(type, start, end) \
                (__offsetof(type, end) - __offsetof(type, start))

This fix will be changed to a better fix soon. But at the moment to compile XPCOM this fix is needed.
Depends on: 502549
Depends on: 504519
Depends on: 506663
Depends on: 507767
Depends on: 522298
This is a mass change. Every comment has "assigned-to-new" in it.

I didn't look through the bugs, so I'm sorry if I change a bug which shouldn't be changed. But I guess these bugs are just bugs that were once assigned and people forgot to change the Status back when unassigning.
Status: ASSIGNED → NEW
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.