The Mozilla
Organization
Our Mission
Who We Are
Getting Involved
Community
Editorials
What's New
Development
Roadmap
Module Owners
Blue Sky
Projects
Status
Tools
Products
Source Code
Binaries
Documentation
License Terms
Bug Reports
Search
Feedback


Zulu Windows Build Instructions

This document explains how to build Zulu for the Windows platform.
Required Tools:
  • Microsoft Visual C++ version 4.2 or later
  • The same set of tools for building Mozilla
Setting up:
  • You need a Pentium with at least a 133 MHz processor and at least 250 megs (NTFS partition) or 500 megs (FAT partition) of hard drive space. You need to have a minimum of 64 megs of memory in order to build this tree. These numbers are approximations.
  • The preferred platform is NT 4.0. NT 3.51 will also work, and Win95/98 might work if you're lucky. Maybe.
  • Install MSVC. If you don't choose to have the MSVC install modify your environment variables for PATH, INCLUDE, and LIB information, be sure to run VCVARS32.BAT out of the MSVC bin directory prior to attempting to build.
  • Download and install GNU tools. Put them in your path. Change the name of date.exe (GNU tool) to unix_date.exe
  • Install Zulu source.
  • There are several environment variables you will need to set, either manually or via a script within a command session, or by setting them in your system environment located through the Control Panel | System icon.

  • Note: There are additional variables for building Zulu! Use this list carefully!

    The variables are:

    • set MOZ_BITS=32
    • set MOZ_DEBUG=1 (don't set this if you want to build an optimized release build)
    • set MOZ_GOLD=1
    • set MOZ_MEDIUM=1
    • set MOZ_NT=351 (if running NT 3.51, don't set otherwise)
    • set MOZ_OUT=(location of resulting executable and totally optional, see Notes for more details)
    • set MOZ_SRC=(top of your tree, drive letter and path, i.e. set MOZ_SRC=d:\calendar_src. The topmost directory under this should be ns)
    • set MOZ_TOOLS=(location of the bin directory containing your GNU tools. The build looks for MOZ_TOOLS\bin\gmake.exe, so make sure your MOZ_TOOLS is figured appropriately)
    • set NO_SECURITY=1
    • set NSPR20=1
    • if you are running VC++ 5.0 or higher: set _MSC_VER=1100; if you are running VC++ 4.2 then set MOZ_VCVER=42
    • set MODULAR_NETLIB=1
    • set MOZ_TREX=1
    • set MOZ_ZULU_FREE=1
    • set NGLAYOUT_PLUGINS=1
    • set NO_SECURITY=1
    • set STANDALONE_IMAGE_LIB=1
Building:
  • You need to be running a vanilla command prompt. Other shells may work, but you might have to tweak makefiles.
  • Build Zulu: This will do a complete build of the source tree. You will end up with a zulu.exe at the end. The zulu.exe will be in your dist\win32_[OD].obj\bin directory (O will be used when you don't set MOZ_DEBUG; D will be used when you set MOZ_DEBUG).
    • cd mozilla
    • Optional: clobber all your old binaries - nmake -f trex.mak clobber_all
    • nmake -f trex.mak build_all
Running:
  • To run Zulu:
    • cd mozilla\dist\win32_[OD].obj\bin
    • .\zulu.exe
Notes:
  • This build process does not use Visual C++ generated project files for several reasons having to do with (among other things) size, maintainability, and the long term desire to start using more of tools like gmake, or plug and play developer tools. This does not preclude you from using the Visual C++ IDE, or it's debugger. Once you have built a zulu.exe do this to run it under the debugger:
    • cd mozilla\dist\win32_[OD].obj\bin
    • msdev zulu.exe

Copyright © 1998 Netscape Communications Corporation



Copyright © 1998 The Mozilla Organization.