Changes

Jump to: navigation, search

Liz Chak Assignment 1

1,233 bytes added, 04:52, 16 September 2006
no edit summary
Here are the steps that I took to configure the environment for the Firefox build:
I made #Make a directory for the source and build system:
<pre>
$mkdir C:\proj
</pre>
 
#Make a directory called <b>moztools</b> in <b>C:\proj\</b>
 
#Download and extract the [http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/moztools-static.zip static moztools libraries for Visual C++] to <b>C:\proj\moztools</b>
 
#To setup the appropriate environment variables and paths, create a build script called <b>buildsetup.bat</b> in <b>C:\proj</b>. Copy and paste the following script into buildsetup.bat:
 
<pre>
@echo off
 
rem --- CVS Setup
SET CVSROOT=:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot
SET CVS_RSH=ssh
 
rem --- Setup the paths to the moztools build libraries
set MOZ_TOOLS=C:\proj\moztools
set GLIB_PREFIX=%MOZ_TOOLS%
set LIBIDL_PREFIX=%MOZ_TOOLS%
 
rem --- Scrub these variables first
SET INCLUDE=
SET LIB=
SET PATH=C:\;C:\windows\system32;C:\windows\system32\wbem
 
rem --- Prepend cygwin
SET PATH=C:\cygwin\bin;%PATH%
 
rem --- Setup VC8 compiler environment vars
CALL "C:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat" x86
 
rem --- Add glib/libidl to build environment
SET PATH=%PATH%;%GLIB_PREFIX%;%GLIB_PREFIX%\bin
SET INCLUDE=%GLIB_PREFIX%\include;%INCLUDE%
SET LIB=%GLIB_PREFIX%\lib;%LIB%
 
rem --- moztools comes last after glib/libIDL
SET PATH=%PATH%;%MOZ_TOOLS%\bin
</pre>
=Problems and Solutions=
1
edit

Navigation menu