Open main menu

CDOT Wiki β

Changes

User:Moe/Assignment1

969 bytes added, 20:32, 19 September 2006
no edit summary
== '''en construction:'''Research ==
== ''':''' Research ==
:At first I had decided to build Firefox using Visual Studio 2005 on Windows XP. No knowing where to start I did what I usually do when I don’t have a clue about something. I googled it. Using the following search query “build Firefox using visual studio” in google I was directed to [http://cs.senecac.on.ca/~david.humphrey/writing/firefox-win32-build.html].
:I followed the instructions on that page up to the point where the buildsetup.bat needed to be executed. It did not work. I was unable to execute the script. I knew this because it wasn’t setting up the correct environmental variables for CVS to work properly. After an hour of struggle with this problem I decided to give up on Windows and decided to try my luck with OS X.
 :I chose to build Firefox using the release 1.5.0.6 source which was available online on the mozilla release [http://releases.mozilla.org/pub/mozilla.org/firefox/releases/1.5.0.6/source/ website]. I downloaded firefox-1.5.0.6-source.tar.bz2 and then extracted the content of the archive into /Users/Moe/proj/. ::'''My .mozconfig settings''':{| class="fullwidth-table"|-|class="header" width="5%"||class="header" width="95%"||- |- ||<pre>sudo gcc_select 3.3export MOZCONFIG=~/proj. $topsrcdir/browser/config/mozconfigmk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-opt-staticac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.4u.sdkac_add_options --enable-optimizeac_add_options --disable-debugac_add_options --enable-staticac_add_options --disable-sharedac_add_options --disable-testsmk_add_options MOZ_CO_PROJECT=browserac_add_options --enable-application=browser</pre>|-|} :I searched google with the following query “mac osx build firefox” and this page [http://developer.mozilla.org/en/docs/Build_Documentation] was returned as one of the search results. I then followed the instructions on the [http://developer.mozilla.org/en/docs/Build_Documentation build documentation] page and at the end was able to get Firefox built and running in no time.
== ''':''' Hardware and Software Requirements ==
:After many build attempts I realized that the old object files that were compiled before, when I was missing the SDKs, were causing the build process to fail. The removal of the object files with in the objdir resulted it a successful build of Firefox.
== ''':''' Resources Used==
:#http://developer.mozilla.org/en/docs/Mac_OS_X_Build_Prerequisites
:#http://developer.mozilla.org/en/docs/Configuring_Build_Options
:#http://releases.mozilla.org/pub/mozilla.org/firefox/releases/1.5.0.6/source/
:#http://developer.apple.com
 
== ''':''' Screenshot==
:[[Image:Moefirefoxss.jpg|Firefox screenshot [1.5.06]]]
== ''':''' Final Thoughts ==
:My first experience with building Firefox has been quite uneventful. I was expecting hours of painful struggle with this assignment but luckily the entire process went without a hitch at least compared to the other horror stories I’ve heard. I however consider myself lucky to have all the tools needed already installed and ready to go.
1
edit