20
edits
GavinSharp (talk | contribs) |
(added win32 instructions) |
||
| Line 96: | Line 96: | ||
make -f client.mk build | make -f client.mk build | ||
</pre> | </pre> | ||
==Building Win32== | |||
Start by setting up your system with the needed SDKs. This means Visual Studio 2008 and the Vista SDK. You can install the Windows Mobile 6 SDK also, but it's not needed for the Win32-only build. | |||
Check out the hg repo listed above. Create a .mozconfig file in the mozilla-central directory. This looks similar to the above, but with some ARM/Linux specific lines removed: | |||
<pre> | |||
# Options for client.mk. | |||
mk_add_options MOZ_BUILD_PROJECTS="xulrunner mobile" | |||
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../mobilebase | |||
# XULRunner options | |||
ac_add_app_options xulrunner --enable-application=xulrunner | |||
ac_add_app_options xulrunner --disable-javaxpcom | |||
# mobile options | |||
ac_add_app_options mobile --enable-application=mobile | |||
ac_add_app_options mobile --with-libxul-sdk=../xulrunner/dist | |||
# Global options -- uncomment these lines for debug version | |||
#ac_add_options --enable-debug | |||
#ac_add_options --disable-optimize | |||
# needed to fix problem with Vista SDK | |||
ac_add_options --disable-accessibility | |||
</pre> | |||
Then use the commands | |||
<pre> | |||
configure | |||
make -f client.mk build | |||
</pre> | |||
Don't panic if configure fails; the make will rerun it with the right options to allow this to work. | |||
edits