mozilla原代码编译

参考文档:https://developer.mozilla.org/en-US/docs/Simple_Firefox_buildHardware requirementsMozilla takes time to build. You need a development-class system:A fast processor, ideally with s
摘要由CSDN通过智能技术生成

参考文档:https://developer.mozilla.org/en-US/docs/Simple_Firefox_build

Hardware requirements

Mozilla takes time to build. You need a development-class system:

  • A fast processor, ideally with several cores.  
  • More than 2 GB of RAM for recent Firefox builds, 4 GB or higher recommended. 至少2G内存,建议4G以上
  • 1.5 GB NTFS or 3 GB FAT disk space, or more  1.5G的磁盘空间,本人实际使用了5.33G
  • Windows Vista or later recommended (the build should work on Windows XP though). 系统要求,本人使用的是WIN7 64

Overview

The Mozilla build process requires many tools that are not installed on most Windows systems. In addition to Visual Studio, you must install MozillaBuild, which is a bundle of software including just the right versions of bash, GNU make, autoconf, Mercurial, and much more.

The Mozilla codebase works with the following compilers ("Official" means this is what we use for the builds we release as the Firefox product):

  VC8 (Visual Studio 2005) VC9 (Visual Studio 2008) VC10 (Visual Studio 2010) VC11 (Visual Studio 2012)
Firefox Yes Yes Yes (Official) Yes

Note that installing both Visual Studio 2010 and Visual Studio 2012 on Windows 64-bit currently breaks the build. Also installing .NET Framework 4.5 when using Visual Studio 2010 breaks the builds. See Bug 772989 Comments 15 and 17 on this, according to http://support.microsoft.com/kb/2757355 installing Visual Studio 2010 SP1 should fix this problem.

本人安装的是VC10SP1,刚开始安装的是VC10,发现编译报错。

Install build prerequisites

Complete each of these steps otherwise you may not be able to build successfully, there are notes on these software requirements below.

  1. Make sure your system is up-to-date through Windows Update. (Windows XP needs at least Service Pack 2 and .NET Framework 2.0.)
  2. You may need to install one or more Windows SDKs. See Windows SDK versions for a quick guide.
  3. Install the June 2010 DirectX SDK (
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值