Created attachment 304300 [details] [diff] [review] Very rough patch Haiku is the open source replacement for BeOS, and it can be built using gcc4. I have a rough non-final patch of what it is needed for a *somewhat* working gcc4 Firefox for Haiku. I've crosscompiled it from Linux 64-bit, as Haiku doesn't have a build environment yet. It does run but has a lot of glitches to fix.
Component: Build Config → Build Config
Product: Firefox → Core
QA Contact: build.config → build-config
Version: 2.0 Branch → Trunk
Great to see you getting somewhere! :-) But I don't think you should waste time trying to fix stuff in gfx/src/beos, as there is some pressure to remove it soon. (It depends on many functions which really should be removed as they increase the codesize for the other platforms, see e.g. bug 410114.) Oh, are you trying this on the 1.8 branch still? Then forget the above.
Yes, we are. I'd rather be on trunk but... We have no working Cairo, although it was ported by biesi a long time ago. We have no Pango either for that matter, but afaik OS/2 had an alternate solution there. And it wasn't that hard except for the xpcom-reflection. Hadn't it been for the hints from other platforms to use thunk based vtable I'd probably be stuck there still.
Created attachment 358432 [details] [diff] [review] another version, uses Haiku's native gcc2. cross-compile support not included. This variation of the initial patch allows SeaMonkey, Firefox, Thunderbird, and Sunbird from MOZILLA_1_8_BRANCH to be compiled inside Haiku with gcc2. At this time, Haiku's native gcc4 toolchain is still being developed. Other products, such as XUL-runner should be buildable, but were not tested. Cross-compile support was not included, but should be easy to add.
Another note about attachment (id=358432), this is a patch on the entire mozilla/ directory. NSS and NSPR changes are included.
You need to log in before you can comment on or make changes to this bug.