Windows 8 will eventually support compiling mozilla-central and related repositories and products. This page documents the steps to get a working Windows 8 development environment.
Installing Windows 8
The Windows 8 Developer Preview can be obtained from http://msdn.microsoft.com/en-us/windows/home/.
If you want to run Windows 8 on Virtualbox, see http://www.groovypost.com/howto/inst...vm-virtualbox/.
Installing Windows 8 is pretty straightforward for an OS install. These instructions assume you know how to do that.
To install all the prerequisites and compile mozilla-central, you will want a partition at least 40GB large.
Install Developer Tools
As with the existing Windows 7 development steps, you'll need to install a number of prerequisites.
Visual Studio 2011
The Visual Studio 2011 Developer Preview can be downloaded from https://www.microsoft.com/download/e...ng=en&id=27543. The download there is just a simple installer which will download and install the real components. When you install VS2011, have something else to do because it takes a long time.
Optionally download and install the DirectX SDK from http://www.microsoft.com/download/en...ang=en&id=6812.
If you don't install the DirectX SDK, add the following to your .mozconfig:
The Windows SDK is a little tricky for Windows 8. Currently, the Windows 8 SDK is only available to MSDN subscribers. If you have access, you can grab it from MSDN under the filename en_windows_developer_preview_wdk_x86_x64_741966.zip. You will likely find it under the Windows Developer Preview section listed as Windows Developer Preview WDK (x86 and x64).
Theoretically, you can install the Windows 7 (or 7.1) SDK as a substitute. But, the Windows SDK isn't technically required (the files in Visual Studio 2011 will suffice).
mozilla-build (the package that provides all the utilities for building on Windows) does not yet have a shipped version that supports Windows 8. So, you'll need to obtain the repository. Download https://hg.mozilla.org/mozilla-build/archive/tip.zip and uncompress to somewhere (like c:\src\mozilla-build).
Until bug 686837 lands, you'll need to apply the patch(es) in that bug manually over the contents of mozilla-build.