1. What is Electrical Fire ?

Electrical Fire is the code name for a multi-platform Just-In-Time Java compiler (JIT).  For more information, see the Electrical Fire homepage .

2. How to build Electrical Fire on Windows

2.1 Requirements

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:

2.2 Get the code

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

(Need to add a CVS module for EF)

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