ElectricalFire Compiler

Windows Build Instructions

Author: Scott Furman
Last Modified:

Requirements

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:

Get the code

Download the code using CVS:
cvs co mozilla/ef
cvs co mozilla/nsprpub

Setup the Build Environment

  • 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.
  • 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.
  • Build ElectricalFire