Discuz! Board

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 2505|回复: 0
打印 上一主题 下一主题

xulrunner编译

[复制链接]

437

主题

566

帖子

2381

积分

金牌会员

Rank: 6Rank: 6

积分
2381
跳转到指定楼层
楼主
发表于 2016-1-24 22:10:44 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
https://developer.mozilla.org/en ... /Build_Instructions
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 --disable-javaxpcom 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:
  1. mk_add_options MOZ_CO_PROJECT=xulrunner
  2. mk_add_options MOZ_OBJDIR=@topsrcdir@/obj-xulrunner

  3. ac_add_options --enable-application=xulrunner
  4. #Uncomment the following line if you don't want to build JavaXPCOM:
  5. #ac_add_options --disable-javaxpcom
复制代码
Fetching Sources from Mercurial
As with all other Mozilla products, one would fetch recent sources from Mercurial. For example, to build XULRunner with the top of the tree:
  1. hg clone http://hg.mozilla.org/mozilla-central/ src
  2. cd src
  3. echo ". \$topsrcdir/xulrunner/config/mozconfig" > .mozconfig
  4. make -f client.mk build
复制代码


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|firemail ( 粤ICP备15085507号-1 )

GMT+8, 2024-11-26 10:47 , Processed in 0.058386 second(s), 19 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表