Building Pale Moon for WinXP, SSE CPU

Talk about code development, features, specific bugzilla bugs, enhancements, patches, and other highly technical things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific referenced Bugzilla bugs, mercurial, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Most "bug reports" do not belong in this board and should initially be posted in Community Support or other relevant support boards.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
Mercury
Fanatic
Fanatic
Posts: 203
Joined: 2013-11-01, 23:26
Location: Toronto, Canada

Re: Building Pale Moon for WinXP, SSE CPU

Post by Mercury » 2015-06-28, 23:34

I wish to report that I successfully built an SSE CPU, XP-compatible version of PaleMoon using the official repository.

I downloaded the source from the "25.5_Atom_RelBranch" branch (as a ZIP file; actually using git would probably work just as well).

I used the 1.10 version of MozillaBuild. Moonchild indicated in a previous post that this is the correct version to use.

I used Visual Studio Express 2012. In order to correctly pass the option to build a version compatible with non-SSE2 capable CPUs, I added "-arch:SSE" to the CL environment variable. Visual Studio 2012 and above by default target the SSE2 architecture.

My .mozconfig file looks like this:

Code: Select all

mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/outx86
ac_add_options --enable-optimize="-O2 -arch:SSE -GS- -fp:precise -Qfast_transcendentals -Qpar"
export WIN32_REDIST_DIR=$VCINSTALLDIR/redist/x86/Microsoft.VC110.CRT
export VS90COMNTOOLS=$VS110COMNTOOLS

ac_add_options --with-distribution-id=Palemoon
ac_add_options --disable-update-packaging
ac_add_options --enable-official-branding
mk_add_options MOZ_CO_PROJECT=browser
ac_add_options --enable-application=browser
ac_add_options --disable-debug
ac_add_options --disable-debug-symbols
ac_add_options --enable-jemalloc
ac_add_options --enable-shared-js
ac_add_options --enable-chrome-format=omni
ac_add_options --disable-tests
ac_add_options --disable-mochitests
ac_add_options --enable-strip
ac_add_options --enable-strip-libs
ac_add_options --disable-crashreporter
ac_add_options --disable-accessibility
ac_add_options --disable-parental-controls
ac_add_options --disable-maintenance-service
ac_add_options --disable-webrtc
ac_add_options --disable-metro
ac_add_options --disable-websms-backend
ac_add_options --disable-windows-mobile-components
ac_add_options --disable-devtools
Hope this is helpful to someone! Please be aware the Moonchild has posted a guide for building Pale Moon. This post is not intended as a replacement for his instructions.

Locked