The canonical development environment for Windows platforms is NT 4.0. (It's probable that Win95/98 work, but it has not been tested.) The following tools need to be installed:
- MSVC 5.0.
- GNU Tools for Microsoft Windows, located:
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
- Download the BURG tool: ftp://ftp.cs.arizona.edu/people/todd/burg.shar.Z You'll need to download this file on a unix box, since this is distributed as a shell archive. Put the resulting files in the mozilla/ef/tools/Burg directory. (We can eliminate this download step if we can get permission to redistribute BURG.)
- Obtain jvmdi.h: Download JDK1.2 from Sun. After installing, copy the jvmdi.h file into the mozilla/ef/Debugger directory. (We can eliminate this download step if we can get Sun to give us permission to redistribute the file, the way they've done for us with jni.h)
Download the code using CVS:
cvs co mozilla/ef
cvs co mozilla/nsprpub(Need to add a CVS module for EF)
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
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 another directory, as bison ignores these variables). Add the mozilla\dist\$(OBJDIR)\bin directory to your PATH
mozilla\ef\Driver\StandAloneJava\winbuild\ElectricalFire.dsw