Compare Revisions

Setting up Boot to Gecko Build Environment for Mac OS X

Revision 7294:

Revision 7294 by marshall_law on

Revision 7295:

Revision 7295 by marshall_law on

Title:
Setting up Boot to Gecko Build Environment for Mac OS X
Setting up Boot to Gecko Build Environment for Mac OS X
Slug:
Mozilla/Boot_to_Gecko/Setting_up_Boot_to_Gecko_Build_Environment_for_Mac_OS_X
Mozilla/Boot_to_Gecko/Setting_up_Boot_to_Gecko_Build_Environment_for_Mac_OS_X
Tags:
"Mac OS X", B2G
"Mac OS X", B2G
Content:

Revision 7294
Revision 7295
nn98    <h4>
99      Cloning and Building B2G
100    </h4>
t99      &nbsp;t102      <span style="font-weight: bold;">M</span><strong>ake sure y
 >ou clone into the case-sensitive volume</strong>. If you followed
 > the steps from above, you would simply use these commands:
103    </p>
104    <pre>
105<code>$ cd /Volumes/Boot2Gecko
106$ git clone git://github.com/mozilla-b2g/B2G.git
107</code>
108</pre>
109    <p>
110      If your needed to install apple-gcc42 from above, you will 
 >now need to set&nbsp; <code>HOST_CC</code> and <code>HOST_CXX</co
 >de> in the file <code>~/.b2g_config</code>:
111    </p>
112    <pre>
113<code>MAKE_FLAGS+=" HOST_CC=/usr/local/bin/gcc-4.2 HOST_CXX=/usr/
 >local/bin/g++-4.2"</code>
114</pre>
115    <p>
116      Now, you can configure and build B2G as normal. See the <a 
 >class=" link-https" href="https://github.com/mozilla-b2g/B2G/blob
 >/master/README.md" title="https://github.com/mozilla-b2g/B2G/blob
 >/master/README.md">B2G README.md</a> for more details

Back to History