Difference between revisions of "Mac OS X via Terminal.app"

From CDOT Wiki
Jump to: navigation, search
Line 12: Line 12:
 
[http://developer.mozilla.org/en/docs/Build_Documentation See:I opened the documentation]
 
[http://developer.mozilla.org/en/docs/Build_Documentation See:I opened the documentation]
  
''I Ran Terminal.app''
+
''I Ran Terminal.app; now I gotta get the source''
  
 
   mamullin-btn710:~ coren$ rm -rf moz_src
 
   mamullin-btn710:~ coren$ rm -rf moz_src
Line 23: Line 23:
 
   mamullin-btn710:~/moz_src/learncompile/mozilla coren$ make -f client.mk checkout MOZ_CO_PROJECT=browser
 
   mamullin-btn710:~/moz_src/learncompile/mozilla coren$ make -f client.mk checkout MOZ_CO_PROJECT=browser
 
   checkout start: Mon Sep 17 17:34:54 EDT 2007
 
   checkout start: Mon Sep 17 17:34:54 EDT 2007
 +
  ...
 
   checkout finish: Mon Sep 17 17:40:07 EDT 2007
 
   checkout finish: Mon Sep 17 17:40:07 EDT 2007
 +
 +
''Ok the source is retreived; now I gotta run configure my compile options"
 +
[http://developer.mozilla.org/en/docs/Configuring_Build_Options Configs]
 +
 +
  mamullin-btn710:~/moz_src/learncompile/mozilla coren$ pwd
 +
  /Users/coren/moz_src/learncompile/mozilla
 +
  mamullin-btn710:~/moz_src/learncompile/mozilla coren$ pico mozconfig-firefox
 +
 +
''The following is what I put in the mozconfig-firefox file
 +
 +
  mk_add_options MOZ_BUILD_PROJECTS=browser
 +
  mk_add_options MOZ_CO_PROJECT=browser
 +
  mk_add_options MOZ_OBJDIR=/Users/coren/moz_ff_trunk/
 +
  ac_add_options --enable-application=browser
 +
  ac_add_options --disable-optimize
 +
  ac_add_options --enable-debug
 +
  ac_add_options --enable-static
 +
 +
''Save; Exit''
 +
 +
  mamullin-btn710:~/moz_src/learncompile/mozilla coren$ export MOZCONFIG=~/moz_src/learncompile/mozilla/mozconfig-firefox

Revision as of 17:52, 17 September 2007

computer interaction

commentary

See:I Surfed to somewhere

I previous compiled and ran a tarball version of firefox"" See:Previous Blog Entry

This is what I did to compile firefox from scratch the

See:I opened the documentation

I Ran Terminal.app; now I gotta get the source

 mamullin-btn710:~ coren$ rm -rf moz_src
 mamullin-btn710:~ coren$ mkdir moz_src
 mamullin-btn710:~ coren$ cd moz_src
 mamullin-btn710:~/moz_src coren$ mkdir learncompile
 mamullin-btn710:~/moz_src coren$ cd learncompile/
 mamullin-btn710:~/moz_src/learncompile coren$ cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co mozilla/client.mk
 mamullin-btn710:~/moz_src/learncompile coren$ cd mozilla/
 mamullin-btn710:~/moz_src/learncompile/mozilla coren$ make -f client.mk checkout MOZ_CO_PROJECT=browser
 checkout start: Mon Sep 17 17:34:54 EDT 2007
 ...
 checkout finish: Mon Sep 17 17:40:07 EDT 2007

Ok the source is retreived; now I gotta run configure my compile options" Configs

 mamullin-btn710:~/moz_src/learncompile/mozilla coren$ pwd
 /Users/coren/moz_src/learncompile/mozilla
 mamullin-btn710:~/moz_src/learncompile/mozilla coren$ pico mozconfig-firefox

The following is what I put in the mozconfig-firefox file

 mk_add_options MOZ_BUILD_PROJECTS=browser
 mk_add_options MOZ_CO_PROJECT=browser
 mk_add_options MOZ_OBJDIR=/Users/coren/moz_ff_trunk/
 ac_add_options --enable-application=browser
 ac_add_options --disable-optimize
 ac_add_options --enable-debug
 ac_add_options --enable-static

Save; Exit

 mamullin-btn710:~/moz_src/learncompile/mozilla coren$ export MOZCONFIG=~/moz_src/learncompile/mozilla/mozconfig-firefox