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?
Porting Firefox to elf target
-
- Posts: 670
- Joined: January 31st, 2005, 5:37 am
- Location: Berlin
- Contact:
Re: Porting Firefox to elf target
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
-
- Moderator
- Posts: 14404
- Joined: May 3rd, 2007, 7:40 am
- Location: US
Re: Porting Firefox to elf target
Moving to Third-Party Builds where people here may have the necessary insight.
-
- Posts: 4
- Joined: May 9th, 2016, 6:45 am
Re: Porting Firefox to elf target
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.
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
Reason: changed source example from the old vulnerable 28.0 to 46.0.1