1
edit
Changes
no edit summary
</pre>
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=