Open main menu

CDOT Wiki β

Changes

Liz Chak Assignment 1

1,094 bytes added, 05:21, 16 September 2006
no edit summary
</pre>
&nbsp;&nbsp;&nbsp;&nbsp;5. Run the <b>buildsetup.bat</b> script in <b>C:\proj</b>:<pre>$buildsetup.bat</pre> ==Check out mozilla codesource==
#Login to the mozilla CVS repository in <b>C:\proj</b>: <pre>cvs login</pre>
#Type in <b>anonymous</b> as the password when prompted
#Checkout the build script in <b>C:\proj\</b> <pre>cvs co mozilla/browser/config mozilla/client.mk</pre>
*A <b>C:\proj\mozilla</b> is created.
*It takes awhile for the source to get downloaded. Be patient.
#After source is downloaded successfully, create a text file <b>.mozconfig</b> in the editor of your preference in <b>C:\proj\mozilla</b>
<pre>
# Building Firefox Trunk with Debugging
. $topsrcdir/browser/config/mozconfig
 
# Put all obj files in one place, not in src tree
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-objdir
ac_add_options --disable-static
ac_add_options --enable-shared
 
# Debug Build Setup Options
ac_add_options --disable-optimize
ac_add_options --enable-debug
 
# I'm using Canvas for my work
ac_add_options --enable-canvas
</pre>
#Get the full source from CVS:
<pre>
cd \proj\mozilla
make -f client.mk checkout
</pre>
#Build the source in <b>C:\proj\mozilla</b> <pre>make -f client.mk build</pre>
=Problems and Solutions=
1
edit