mozilla

Revision 129036 of Building XULRunner

  • Revision slug: XULRunner/Build_Instructions
  • Revision title: Building XULRunner
  • Revision id: 129036
  • Created:
  • Creator: NickolayBot
  • Is current revision? No
  • Comment Robot: Changing category XULRunner:References

Revision Content

XULRunner is built using basically the same process as Firefox or other applications. Please read and follow the general Build Documentation for instructions on how to get sources and set up build prerequisites.

By default, XULRunner is built with JavaXPCOM support; the build system must be able to find an appropriate JDK on the system; see the instructions on Building JavaXPCOM for more details. If you do not want to build JavaXPCOM support, specify <tt>--disable-javaxpcom</tt> in your configuration.

On Mac, XULRunner requires Mac OS X 10.3 or higher and XCode 1.5 or higher to build properly. The runtime requirement is Mac OS X 10.2.

A basic minimal mozconfig which will build a release configuration of XULRunner is:

mk_add_options MOZ_CO_PROJECT=xulrunner
mk_add_options MOZ_OBJDIR=@topsrcdir@/obj-xulrunner

ac_add_options --enable-application=xulrunner
#Uncomment the following line if you don't want to build JavaXPCOM:
#ac_add_options --disable-javaxpcom

Interwiki Language Links

{{ wiki.languages( { "ja": "ja/XULRunner/Build_Instructions" } ) }}

Revision Source

<p> 
</p><p><a href="en/XULRunner">XULRunner</a> is built using basically the same process as Firefox or other applications. Please read and follow the general <a href="en/Build_Documentation">Build Documentation</a> for instructions on how to get sources and set up build prerequisites.
</p><p>By default, XULRunner is built with <a href="en/JavaXPCOM">JavaXPCOM</a> support; the build system must be able to find an appropriate JDK on the system; see the instructions on <a href="en/Building_JavaXPCOM">Building JavaXPCOM</a> for more details. If you do not want to build JavaXPCOM support, specify <tt>--disable-javaxpcom</tt> in your configuration.
</p><p>On Mac, XULRunner requires Mac OS X 10.3 or higher and XCode 1.5 or higher to build properly. The runtime requirement is Mac OS X 10.2.
</p><p>A basic minimal <a href="en/Configuring_Build_Options#Using_a_.mozconfig_Configuration_File">mozconfig</a> which will build a release configuration of XULRunner is:
</p>
<pre class="eval">mk_add_options MOZ_CO_PROJECT=xulrunner
mk_add_options MOZ_OBJDIR=@topsrcdir@/obj-xulrunner

ac_add_options --enable-application=xulrunner
#Uncomment the following line if you don't want to build JavaXPCOM:
#ac_add_options --disable-javaxpcom
</pre>
<p><span class="comment">Interwiki Language Links</span>
</p>{{ wiki.languages( { "ja": "ja/XULRunner/Build_Instructions" } ) }}
Revert to this revision