MozillaZine

Porting Firefox to elf target

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

Post Posted April 27th, 2016, 2:38 am

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: 668
Joined: January 31st, 2005, 5:37 am
Location: Berlin

Post Posted April 27th, 2016, 12:38 pm

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: 14420
Joined: May 3rd, 2007, 7:40 am
Location: US

Post Posted April 28th, 2016, 7:19 am

Moving to Third-Party Builds where people here may have the necessary insight.

Sailor Enceladus
 
Posts: 4
Joined: May 9th, 2016, 6:45 am

Post Posted May 9th, 2016, 6:54 am

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

Return to Third Party/Unofficial Builds


Who is online

Users browsing this forum: No registered users and 2 guests