Difference between revisions of "Talk:Development:Building:Intel"

From Camino Wiki
Jump to navigation Jump to search
(some comments based on my read-through)
 
(→‎Questions: answered)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
==Questions==
 
==Questions==
  
*Is <tt>gcc select<tt> needed when doing a Uni build on Intel, or only when doing a standard 10.2.8 SDK PPC-only build on 10.4 PPC?
+
*<s>Is <tt>gcc select</tt> needed when doing a Uni build on Intel, or only when doing a standard 10.2.8 SDK PPC-only build on 10.4 PPC?</s>
 +
*:the latter
  
 
==Comments==
 
==Comments==
  
 
* We should put objdirs in the developer build .mozconfigs
 
* We should put objdirs in the developer build .mozconfigs
 +
** There are problems with objdirs and CAMINO_PROFILE_DIR--[[User:Delliott|delliott]] 03:27, 3 August 2006 (PDT)
 +
*** Hmm? I build with an objdir and never have had any trouble setting that variable and running the build in the objdir —[[User:Sardisson|sardisson]] 20:45, 9 August 2006 (PDT)
 +
* After explaining the options, we should offer two complete sample .mozconfigs: one for "I want to build-for-daily-use/distribute" and one for new developers<br>
 +
Development:<br>
 +
<pre>. $topsrcdir/camino/config/mozconfig
 +
ac_add_options --disable-optimize
 +
ac_add_options --enable-debug
 +
mk_add_options MOZ_MAKE_FLAGS=-jN
 +
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../CaminoTrunk</pre>
 +
'''Where N = # of CPUs +1, where # of CPUs = 2 on a Core Duo processor'''<br>
 +
Distribution:<br>
 +
<pre>. $topsrcdir/camino/config/mozconfig
 +
ac_add_options --disable-shared
 +
ac_add_options --enable-static
 +
mk_add_options MOZ_MAKE_FLAGS=-jN</pre>
 +
'''Where N = # of CPUs +1, where # of CPUs = 2 on a Core Duo processor'''<br>
 +
 +
* Make sure to have a Uni example for distribution, since it requires an objdir.
 +
 +
* Make sure we include the stuff in the Development section of http://www.caminobrowser.org/development/build/

Latest revision as of 20:39, 24 August 2006

Questions

  • Is gcc select needed when doing a Uni build on Intel, or only when doing a standard 10.2.8 SDK PPC-only build on 10.4 PPC?
    the latter

Comments

  • We should put objdirs in the developer build .mozconfigs
    • There are problems with objdirs and CAMINO_PROFILE_DIR--delliott 03:27, 3 August 2006 (PDT)
      • Hmm? I build with an objdir and never have had any trouble setting that variable and running the build in the objdir —sardisson 20:45, 9 August 2006 (PDT)
  • After explaining the options, we should offer two complete sample .mozconfigs: one for "I want to build-for-daily-use/distribute" and one for new developers

Development:

. $topsrcdir/camino/config/mozconfig
ac_add_options --disable-optimize
ac_add_options --enable-debug
mk_add_options MOZ_MAKE_FLAGS=-jN
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../CaminoTrunk

Where N = # of CPUs +1, where # of CPUs = 2 on a Core Duo processor
Distribution:

. $topsrcdir/camino/config/mozconfig
ac_add_options --disable-shared
ac_add_options --enable-static
mk_add_options MOZ_MAKE_FLAGS=-jN

Where N = # of CPUs +1, where # of CPUs = 2 on a Core Duo processor

  • Make sure to have a Uni example for distribution, since it requires an objdir.