Setup:
You will only have to do this once.
Follow the instructions here to setup a window development environment. Only VC8 is supported.
You must also install hg and turn on the mercurial queues extension. hg.exe needs to be in your path.
Then you need to install the Windows Mobile 6 Standard SDK. You might to install some extra software to resolve dependencies.
directions:
hg clone http://hg.mozilla.org/users/blassey_mozilla.com/unicode/
cd unicode/.hg
hg clone http://hg.mozilla.org/users/blassey_mozilla.com/unicode-patches/ patches
cd ../
wget http://people.mozilla.org/~blassey/mozconfig
python client.py checkout
hg qpush -a
export PATH=$PATH:<path-to-unicode>/build/wince/tools/vs8ppc2003arm
Make sure the WCE_* defines in <path-to-unicode>/build/wince/tools/vs8ppc2003arm/toolspath.h reflect your Visual Studio and Windows Mobile installation paths
make -f client.mk build
This will build xulrunner. As of now, it crashes on start up.