Mozilla World - 在windows下编译XULRunner

你可以在下面链接看到官方的一些信息:Build in window


1. Install build prerequisites

  1. Install vs2010
  2. Download Mozilla-source and decompress.
  3. Download and Install MozillaBuild,a package of additional build tools.
  4. Into MozillaBuild, run "start-msvc10.bat",then MSYS command will prompt properly configured. All further commands should be executed in this command prompt window.
  5. In MSYS command,into source directory, at root directory,Create a file: ".moconfig" in ,file content like below:
    # My first mozilla config

    mk_add_options MOZ_MAKE_FLAGS="-j4"
    mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../obj-xulrunner
    mk_add_options MOZ_BUILD_PROJECTS="xulrunner"

    #Global options
    ac_add_options --enable-debug
    ac_add_options --disable-optimize

    #XULRunner options
    ac_add_app_options xulrunner --enable-application=xulrunner

    #ac_add_options --enable-debug-symbols[=DBG]
    ac_add_options --disable-static
    ac_add_options --enable-shared
    ac_add_options --enable-extensions=default
    ac_add_options --disable-tests
    ac_add_options --disable-webgl
    ac_add_options --disable-activex
    ac_add_options --disable-activex-scripting

2. Build

  1. Run command "make -f client.mk build",start build.
  2. Wait 1 hours,then build OK.
 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值