mozilla

Revision 329563 of Obsolete Build Caveats and Tips

  • Revision slug: Introduction/Obsolete_Build_Caveats_and_Tips
  • Revision title: Obsolete Build Caveats and Tips
  • Revision id: 329563
  • Created:
  • Creator: BrianDiPalma
  • Is current revision? No
  • Comment

Revision Content

Purpose of this page

The Mozilla build process and code base have evolved considerably over the past few years, this has resulted in many caveats and tips being added to the MDN documentation for building older versions of the code base or to deal with older build tools.

These tips while helpful are jarring and superfluous to the majority of new Mozilla builders who are mainly interested in building the latest version of Firefox.

Therefore instead of deleting all these nuggets of information it's best to collect them all here and remove them from the majority happy path documentation.

Each piece of information should mention the page and the section it originally came from. You can copy in the original text and bold out what has been removed.

Obsolete caveats and tips

From Simple_Firefox_build

Install a version of Visual Studio that supports C++ development: VS 2012 for Windows Desktop Pro or Express (free), or VC++ 2010 Pro or Express (free), or VC++ 2008 Pro or Express with SP1 (free) (Warning ! From Firefox 10, the compilator is Visual Studio 2010; if you want to use it, you must use a previous version of it !), or 2005 Professional

From Build_Instructions

Older Mozilla Source Code via CVS
Those who need to work with the code for Firefox 3/Mozilla 1.9 and earlier can check out the latest source using CVS. In reality, you should probably not need to do this, since that code is very obsolete.
This note below seems redundant as this is true by default http://msdn.microsoft.com/en-us/library/dh8che7s%28v=vs.110%29.aspx

{{ gecko_callout_heading("7.0") }}

Starting with Gecko 7.0, you should no longer include "-Zc:wchar_t-" in the command line when building on Windows. If you're using Visual Studio, go to Project Properties > C/C++ > Language > Treat wchar_t as Built-in Type and set it to "yes".

 

Revision Source

<h2 id="Purpose_of_this_page">Purpose of this page</h2>
<p>The Mozilla build process and code base have evolved considerably over the past few years, this has resulted in many caveats and tips being added to the MDN documentation for building older versions of the code base or to deal with older build tools.</p>
<p>These tips while helpful are jarring and superfluous to the majority of new Mozilla builders who are mainly interested in building the latest version of Firefox.</p>
<p>Therefore instead of deleting all these nuggets of information it's best to collect them all here and remove them from the majority happy path documentation.</p>
<p>Each piece of information should mention the page and the section it originally came from. You can copy in the original text and bold out what has been removed.</p>
<h2 id="Obsolete_caveats_and_tips">Obsolete caveats and tips</h2>
<p>From <a href="/en-US/docs/Simple_Firefox_build#Windows" title="/en-US/docs/Simple_Firefox_build#Windows">Simple_Firefox_build</a></p>
<p>Install a version of Visual Studio that supports C++ development: <a href="http://www.microsoft.com/visualstudio/eng/downloads" title="http://www.microsoft.com/visualstudio/eng/downloads">VS 2012 for Windows Desktop</a> Pro or Express (free), or VC++ 2010 Pro or <a class="external" href="http://go.microsoft.com/?linkid=9709949" title="http://go.microsoft.com/?linkid=9709949">Express (free)</a>,<strong> or VC++&nbsp;2008 Pro or <a class="external" href="http://www.microsoft.com/downloads/details.aspx?FamilyId=F3FBB04E-92C2-4701-B4BA-92E26E408569&amp;displaylang=en" title="http://www.microsoft.com/downloads/details.aspx?FamilyId=F3FBB04E-92C2-4701-B4BA-92E26E408569&amp;displaylang=en">Express with SP1 (free)</a> (Warning ! From Firefox 10, the compilator is Visual Studio 2010; if you want to use it, you must use a previous version of it !), or 2005 Professional</strong></p>
<p>From <a href="/en-US/docs/Developer_Guide/Build_Instructions" title="/en-US/docs/Developer_Guide/Build_Instructions">Build_Instructions</a></p>
<dl>
  <dt>
    <a href="/En/Developer_Guide/Source_Code/CVS" title="en/Mozilla_Source_Code_(CVS)">Older Mozilla Source Code via CVS</a></dt>
  <dd>
    Those who need to work with the code for Firefox 3/Mozilla 1.9 and earlier can check out the latest source using CVS. In reality, you should probably not need to do this, since that code is very obsolete.</dd>
  <dt>
    This note below seems redundant as this is true by default http://msdn.microsoft.com/en-us/library/dh8che7s%28v=vs.110%29.aspx</dt>
</dl>
<div class="geckoVersionNote">
  <p>{{ gecko_callout_heading("7.0") }}</p>
  <p>Starting with Gecko 7.0, you should no longer include "-Zc:wchar_t-" in the command line when building on Windows. If you're using Visual Studio, go to Project Properties &gt; C/C++ &gt; Language &gt; Treat wchar_t as Built-in Type and set it to "yes".</p>
</div>
<p>&nbsp;</p>
Revert to this revision