{"id":370,"date":"2011-06-10T14:18:42","date_gmt":"2011-06-10T06:18:42","guid":{"rendered":"http:\/\/my.no-ip.info\/carlos\/blog\/?p=370"},"modified":"2016-04-02T08:26:04","modified_gmt":"2016-04-02T00:26:04","slug":"firefox-4-on-windows","status":"publish","type":"post","link":"https:\/\/carlos.aboutmy.info\/blog\/?p=370","title":{"rendered":"Firefox 4 on Windows"},"content":{"rendered":"<p>\u7d42\u65bc build \u597d\u5de6 Firefox 4 on Windows<\/p>\n<p>\u4e4b\u524d build \u5514\u5230\u539f\u4f86\u662f mozilla-build \u4e2d\u7684 configure.in \u6709 bug, detect \u5514\u5230 DirectX SDK\uff0c\u6709\u4eba\u5df2 commit \u5de6 bug fix \u4f46\u672a release<br \/>\n<a href=\"http:\/\/hg.mozilla.org\/mozilla-central\/rev\/962fee06b08e\">http:\/\/hg.mozilla.org\/mozilla-central\/rev\/962fee06b08e<\/a><br \/>\n\u96d6\u7136\u500b bug fix \u6709 d hard-code \u4f46 works<\/p>\n<p>\u6839\u64da license, \u7121\u6539\u904e source code \u53ef\u4ee5\u7528\u8fd4 firefox \u500b\u540d\u540c logo \u767c\u4f48\uff0cbuild config \u5982\u4e0b\uff0c\u900f\u904e\u9664\u53bb\u7121\u7528\u7684\u529f\u80fd\u540c\u57cb compiler \u512a\u5316\u4f86\u63d0\u5347\u6027\u80fd\uff1a<br \/>\n<code><br \/>\n. $topsrcdir\/browser\/config\/mozconfig<br \/>\nmk_add_options MOZ_OBJDIR=@TOPSRCDIR@\/objdir-ff-release<br \/>\nmk_add_options MOZ_MAKE_FLAGS=\"-j2\"<br \/>\nmk_add_options MOZ_CO_LOCALES=\"zh-TW\"<br \/>\nac_add_options --enable-ui-locale=zh-TW<br \/>\nac_add_options --with-l10n-base=$topsrcdir\/browser\/locales<br \/>\nac_add_options --enable-optimize=\"-Ox -Ot -Ob2 -Oi -arch:SSE2\"<br \/>\nac_add_options --disable-debug<br \/>\nac_add_options --disable-tests<br \/>\nac_add_options --disable-accessibility<br \/>\nac_add_options --disable-crashreporter<br \/>\nac_add_options --disable-parental-controls<br \/>\nac_add_options --enable-jemalloc<br \/>\nac_add_options --enable-profile-guided-optimization<br \/>\nac_add_options --enable-official-branding<br \/>\n<\/code><br \/>\nCompiler: VS C++ 2008 SP1<br \/>\nSDKs: Windows SDK 7.0, DirectX SDK (June 2010)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7d42\u65bc build \u597d\u5de6 Firefox 4 on Windows \u4e4b\u524d build \u5514\u5230\u539f\u4f86\u662f mozilla-build \u4e2d\u7684 configure.in \u6709 bug, detect \u5514\u5230 DirectX SDK\uff0c\u6709\u4eba\u5df2 commit \u5de6 bug fix \u4f46\u672a release http:\/\/hg.mozilla.org\/mozilla-central\/rev\/962fee06b08e \u96d6\u7136\u500b bug fix \u6709 d hard-code \u4f46 works \u6839\u64da license, \u7121\u6539\u904e source code \u53ef\u4ee5\u7528\u8fd4 firefox \u500b\u540d\u540c logo \u767c\u4f48\uff0cbuild config \u5982\u4e0b\uff0c\u900f\u904e\u9664\u53bb\u7121\u7528\u7684\u529f\u80fd\u540c\u57cb compiler \u512a\u5316\u4f86\u63d0\u5347\u6027\u80fd\uff1a . $topsrcdir\/browser\/config\/mozconfig mk_add_options MOZ_OBJDIR=@TOPSRCDIR@\/objdir-ff-release mk_add_options MOZ_MAKE_FLAGS=&#8221;-j2&#8243; mk_add_options\u2026 <span class=\"read-more\"><a href=\"https:\/\/carlos.aboutmy.info\/blog\/?p=370\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/carlos.aboutmy.info\/blog\/index.php?rest_route=\/wp\/v2\/posts\/370"}],"collection":[{"href":"https:\/\/carlos.aboutmy.info\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/carlos.aboutmy.info\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/carlos.aboutmy.info\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/carlos.aboutmy.info\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=370"}],"version-history":[{"count":3,"href":"https:\/\/carlos.aboutmy.info\/blog\/index.php?rest_route=\/wp\/v2\/posts\/370\/revisions"}],"predecessor-version":[{"id":497,"href":"https:\/\/carlos.aboutmy.info\/blog\/index.php?rest_route=\/wp\/v2\/posts\/370\/revisions\/497"}],"wp:attachment":[{"href":"https:\/\/carlos.aboutmy.info\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=370"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/carlos.aboutmy.info\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=370"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/carlos.aboutmy.info\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=370"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}