mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-09 05:14:24 +00:00
Update build instructions - nmake builds are long dead.
This commit is contained in:
parent
48fdc192b5
commit
72ce4bc8d3
@ -40,7 +40,7 @@ process, or the <i>configure; gmake</i> process used by Linux.</p>
|
||||
<h3>Building</h3>
|
||||
<ul>
|
||||
<li>From the top-level Mozilla directory, execute <i>./configure
|
||||
--enable-extensions=extensions/pyxpcom</i>. As per the Mozilla build
|
||||
--enable-extensions=python/xpcom</i>. As per the Mozilla build
|
||||
instructions, you may add this option to your <i>.mozconfig</i> file.
|
||||
If you wish to enable debugging, just enable it as you would normally for
|
||||
Mozilla; PyXPCOM will pick up the same settings.<br>
|
||||
@ -51,25 +51,6 @@ process, or the <i>configure; gmake</i> process used by Linux.</p>
|
||||
built. Alternatively, change to the top-level PyXPCOM directory and
|
||||
execute <i>gmake</i> in that directory.</li>
|
||||
</ul>
|
||||
<h2>Windows makefile.win Instructions</h2>
|
||||
<p>Windows builds still support the Windows makefile.win build process. You can
|
||||
build them by performing the following steps</p>
|
||||
<h3>Preparing for the build</h3>
|
||||
<ul>
|
||||
<li>Ensure your machine is setup to build Mozilla and XPCOM itself.</li>
|
||||
<li>Set PYTHON_SRC to point to your Python source root directory. This
|
||||
can either be the root of a "binary" install (with headers and
|
||||
libraries) or a Python source tree.</li>
|
||||
</ul>
|
||||
<h3>Building</h3>
|
||||
<ul>
|
||||
<li>Change to the <i>mozilla/extensions/python/xpcom</i> directory.</li>
|
||||
<li>Run <i>nmake -f makefile.win</i>. This should build the extensions
|
||||
and install them into the <i>{mozilla-dist-directory}/bin/Python</i>
|
||||
directory.</li>
|
||||
<li>Change to the xpcom/test directory, and run python <i>regrtest.py</i> (or <i>python_d
|
||||
regrtest.py</i> for debug builds)</li>
|
||||
</ul>
|
||||
<h2>PyXPCOM outside Mozilla</h2>
|
||||
<p>When you are using PyXPCOM from inside mozilla, no additional configuration
|
||||
options should be necessary. However, if you wish to use PyXPCOM from
|
||||
|
Loading…
Reference in New Issue
Block a user