|
|
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).
- 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.
- Replace the "MSL C" folder in the original MSL folder, with
the new one in the "Carbonated MSL" folder from the
CarbonSDK.
- Rename "MacOS Support/Headers/Universal Headers" to
"zzzUniversal Headers"
- Rename "MacOS Support/Headers/Rez Headers" to "zzzRez
Headers"
- Copy "Carbon Support/Universal Interfaces/CIncludes" to "MacOS
Support/Headers" and name it "Universal Interfaces"
- Copy "Carbon Support/Universal Interfaces/RIncludes" to "MacOS
Support/Headers" and name it "Rez Headers"
- 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
- Start by turning on TARGET_CARBON in
mozilla/config/mac/DefinesMac.h
- Turn on the $CARBON variable in
mozilla/builds/mac/BuildNGLayout.pl (or
BuildNGLayoutDebug.pl)
- Build as normal
written by Mike Pinkerton (pinkerton@netscape.com)
|