The canonical development environment for Windows platforms is NT 4.0, though Win95/98 can also be made to work. You'll need approximately 175M of disk space. The following tools need to be installed:
- MSVC 5.0
- GNU Tools for Microsoft Windows, downloaded from Cygnus . (You'll probably want to download and install the full.exe file.)
Specifically, you'll need:cp.exe
rm.exe
uname.exe
flex.exe
bison.exe
- Netscape has internally modified version of gmake, shmsdos and win32gnu that we use to get around some problems we were having keeping in sync with the Unix version of gmake. This version of gmake can be found in the Windows Build Tools package, which can be ftp'd from the Mozilla Download page. The three files you will need are:
gmake.exe
shmsdos.exe
uname.exe
- Perl5 (download)
Download the code using CVS:
cvs co mozilla/ef
cvs co mozilla/nsprpub
Set your MOZ_TOOLS environment variable to point to the parent directory of the GNU tools 'bin' directory. The build looks for %MOZ_TOOLS%\bin\gmake.exe, so make sure that the gmake.exe from the Windows Build Tools package resides there, e.g. set MOZ_TOOLS=C:\moztools
Install perl5 in %MOZ_TOOLS%/perl5/perl.exe
Create a \tmp directory for temporary files in the root of the drive which you are using to build, e.g. D:\tmp. (You must do this even if you have TEMP or TMP environment variables that point to a different directory, as bison apparently ignores these variables).
Add the mozilla\dist\$(OBJDIR)\bin directory to your PATH
Download Sun's JDK1.2 and install it. Copy the rt.jar file into your mozilla/ef/Package directory.
mozilla\ef\Driver\StandAloneJava\winbuild\ElectricalFire.dsw