Closed Bug 418487 Opened 16 years ago Closed 6 years ago

Making Firefox build for BeOS/Haiku under gcc4

Categories

(Firefox Build System :: General, enhancement)

x86
Linux
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: thesuckiestemail, Unassigned)

References

Details

Attachments

(2 files)

Attached patch Very rough patchSplinter Review
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.
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.
Depends on: 419941
Depends on: 419954
Blocks: 422798
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.
Product: Core → Firefox Build System
Nothing has been happening on the beos side for a while, closing.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: