mozilla

Compare Revisions

Firefox OS build prerequisites

Change Revisions

Revision 344119:

Revision 344119 by groovecoder on

Revision 345151:

Revision 345151 by gsvelto on

Title:
Firefox OS build prerequisites
Firefox OS build prerequisites
Slug:
Mozilla/Boot_to_Gecko/Firefox_OS_build_prerequisites
Mozilla/Boot_to_Gecko/Firefox_OS_build_prerequisites
Tags:
"Mobile", "B2G", "Firefox OS", "Build documentation"
"Mobile", "B2G", "Firefox OS", "Build documentation"
Content:

Revision 344119
Revision 345151
tt198    <p>
199      <strong>Fedora 17:</strong>
200    </p>
201    <pre class="note">
202$ sudo yum install autoconf213 bison bzip2 ccache curl flex gawk 
 >gcc-c++ git glibc-devel glibc-static libstdc++-static libX11-deve
 >l make mesa-libGL-devel ncurses-devel patch zlib-devel ncurses-de
 >vel.i686 readline-devel.i686 zlib-devel.i686 libX11-devel.i686 me
 >sa-libGL-devel.i686 glibc-devel.i686 libstdc++.i686 libXrandr.i68
 >6
203</pre>
204    <p>
205      In addition to the above you will need GCC 4.4 in order to 
 >compile the project. You can find a pre-compiled version <a href=
 >"http://people.mozilla.org/~gsvelto/gcc-4.4.7-bin.tar.xz">here</a
 >>. Download it and install it to <code>/opt</code> with the follo
 >wing command:
206    </p>
207    <pre class="note">
208$ wget http://people.mozilla.org/~gsvelto/gcc-4.4.7-bin.tar.xz
209$ sudo tar -x -a -C /opt -f gcc-4.4.7-bin.tar.xz
210</pre>
211    <p>
212      You will need to specify this compiler as the default host 
 >compiler before building. After having retrieved the sources, see
 > <a href="/en-US/docs/Mozilla/Boot_to_Gecko/Customization_with_th
 >e_.userconfig_file#Changing_the_default_host_compiler" title="en-
 >US/docs/Mozilla/Boot_to_Gecko/Customization_with_the_.userconfig_
 >file#Changing_the_default_host_compiler">here</a> how to do it.
213    </p>

Back to History