![]() |
Build Instructions for Warpzilla with EMX/GCC/PGCCStep 1: Setup your environmentSETMOZENV.CMD uses environment variables to locate the various tools that are needed for the build. The following environment variables should be set to point to where your tools are located: GLIB LIBIDL AUTOCONF EMX MOZTOOLSNote that if you have all of your tools directory of off your root directory, you do not need to set these values. When you have set up the variables, type: SETMOZENV Step 2: Get the CodeTo get the code from CVS, go the directory where you want to put Warpzilla and type:cvs checkout mozilla/client.mkThen type: cd mozilla gmake -f client.mk pull_all delete configure delete nsprpub/configureThe reason we need to delete configure and nsprpub/configure is because we need to run our local version of autoconf. You only need to delete configure the very first time you pull the code, or if you ever get a conflict in configure when executing the pull_all. Step 3: Build the codeGo to the mozilla directory and type:gmake -f client.mk build_allThe build itself is actually two steps, an export step that builds required tools and copies headers into the dist, and an install step that actually builds the code. If you encounter a situation where the export step appears to complete, but the install step does not begin, you can type gmake installto continue the build. We are investigating why this is happening. It involves a 255 error return code from gmake. Step 4: Run the codeThe executable is located in mozilla/dist/bin. Type: mozillato run it. |
|