Setup instructions
- Install Visual Studio 2010 Pro (4/12/2010, vs_proweb.exe)
- Install Windows 7 SDK (winsdk_web.exe - v7 - 7/24/2009 )
- Install MozillaBuild 1.4
- Download into your Mozilla Build installation directory (e.g. C:\mozilla-build) the following files:
- start-msvc10-x64.bat
- guess-msvc.bat (you will have to replace current one)
- Rename or delete this file:
C:\mozilla-build\vim\vim72\install.exe
Now let's build
- Start Mozilla Build with start-msvc10-x64.bat
- Use for instance this mozconfig
. $topsrcdir/browser/config/mozconfig ac_add_options --target=x86_64-pc-mingw32 ac_add_options --host=x86_64-pc-mingw32
# Once we fix jemalloc for VC10 + x64 - bug 569375 export WIN32_REDIST_DIR="C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\redist\x64\Microsoft.VC100.CRT"
- and then:
make -f client.mk build
I hope this helps you out,
Armen
EDIT: I had to switch VS2005 and VS2008 in the last note of this post. I had them switched. Thanks Makoto!
This work by Zambrano Gasparnian, Armen is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.
Armen, this is invalid.
ReplyDeleteVS2005 user should use start-msvc8-x64.bat, and VS2008 user should use start-msvc9-x64.bat.
Does building with VS2010 mean that Firefox will build targeting .NET4 CLR4 to enable the WPF4 text improvements mentioned here http://blogs.msdn.com/b/text/archive/2010/03/05/additional-wpf-text-clarity-improvements.aspx
ReplyDeleteApparently CLR4 can load CLR2 but I'm unsure if things like the text rendering improvements would be applied.