The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search

Building Fizzilla

by Mike Pinkerton
last modified on 5/11/1999

Setting up the environment

These are the steps I used to get an environment that can build Mozilla under CarbonLib. I started with the Pro4 distribution off the CD (with our modifications and updates), and the CarbonSDK 1.5 from the CD seeded to us by Apple. Since we are building a CFM app (not Mach-o), we don't need all the mach-o compilers, linkers, and pref panels (thank god).

  1. Copy the "Carbon Support" folder from the CarbonSDK into the "Metrowerks Code Warrior" (henceforth called "MCW") folder, and rename it to "zzzCarbon Support" so it doesn't interfere with the access paths.
  2. Replace the "MSL C" folder in the original MSL folder, with the new one in the "Carbonated MSL" folder from the CarbonSDK.
  3. Rename "MacOS Support/Headers/Universal Headers" to "zzzUniversal Headers"
  4. Rename "MacOS Support/Headers/Rez Headers" to "zzzRez Headers"
  5. Copy "Carbon Support/Universal Interfaces/CIncludes" to "MacOS Support/Headers" and name it "Universal Interfaces"
  6. Copy "Carbon Support/Universal Interfaces/RIncludes" to "MacOS Support/Headers" and name it "Rez Headers"
  7. Copy the stub "CarbonSupport/CarbonLib/Stub/CarbonLib" from the SDK's CarbonSupport folder to the "MacOS Support/Libraries" folder. Doesn't really matter where you put it inside there.

How to build

  1. Start by turning on TARGET_CARBON in mozilla/config/mac/DefinesMac.h
  2. Turn on the $CARBON variable in mozilla/builds/mac/BuildNGLayout.pl (or BuildNGLayoutDebug.pl)
  3. Build as normal


written by Mike Pinkerton (pinkerton@netscape.com)

Copyright © 1998-1999 The Mozilla Organization.
Last modified May 12, 1999.