Closed
Bug 479584
Opened 16 years ago
Closed 14 years ago
Compile XPCOM for Symbian
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: christian.bugzilla, Unassigned)
References
Details
(Keywords: mobile)
Attachments
(2 files)
8.64 KB,
patch
|
Details | Diff | Splinter Review | |
23.47 KB,
patch
|
Details | Diff | Splinter Review |
No description provided.
Reporter | ||
Comment 1•16 years ago
|
||
Work in progress.
Assignee: nobody → christian.bugzilla
Status: NEW → ASSIGNED
Updated•16 years ago
|
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?
Comment 3•16 years ago
|
||
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?
Reporter | ||
Comment 4•16 years ago
|
||
(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.
Comment 5•16 years ago
|
||
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.
Comment 6•15 years ago
|
||
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
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•