Porting Firefox to elf target

Discussion of third-party/unofficial Firefox/Thunderbird/SeaMonkey builds.
Post Reply
Mars Ultor
New Member
Posts: 1
Joined: April 27th, 2016, 2:31 am

Porting Firefox to elf target

Post by Mars Ultor »

I'm not entirely sure how to do this. What Linux (or Windows/OS X) system calls does Firefox rely on? If those are implemented and the required libraries built, would Firefox work?

Also, is there any way to build so that no window chrome/toolbars can be opened?
dao-g
Posts: 670
Joined: January 31st, 2005, 5:37 am
Location: Berlin
Contact:

Re: Porting Firefox to elf target

Post by dao-g »

You'll probably have a better chance to get an answer in the mozilla.dev.platform newsgroup: https://groups.google.com/forum/m/#!for ... v.platform
rsx11m
Moderator
Posts: 14404
Joined: May 3rd, 2007, 7:40 am
Location: US

Re: Porting Firefox to elf target

Post by rsx11m »

Moving to Third-Party Builds where people here may have the necessary insight.
Sailor Enceladus
Posts: 4
Joined: May 9th, 2016, 6:45 am

Re: Porting Firefox to elf target

Post by Sailor Enceladus »

It works for me out-of-the-box. You just need gcc and make I think.

Download the firefox.source.tar.bz2 from mozilla ftp (example) then:

bunzip2 firefox.source.tar.bz2
tar -xvf firefox.source.tar
mkdir build
cd build
../mozilla-release/configure
make
make install

The binary should be in /usr/local/lib/firefox.

The make part takes 4.5 hours on my Dell Latitude D410, and used 706MB of RAM to build libxul.so at the end.
Last edited by James on May 9th, 2016, 2:04 pm, edited 1 time in total.
Reason: changed source example from the old vulnerable 28.0 to 46.0.1
Post Reply