Mobile/Build/Maemo Build Instructions: Difference between revisions

→‎Building the Trunk (Mozilla 1.9): point to installation instructions for GCC 4
No edit summary
(→‎Building the Trunk (Mozilla 1.9): point to installation instructions for GCC 4)
Line 128: Line 128:
</pre></code>
</pre></code>


Note: with GCC 3.4 you may encounter an error compiling jemalloc. As a workaround, edit <code>memory/jemalloc/Makefile.in</code> in the Mozilla source, and change the MODULE_OPTIMIZE_FLAGS setting from <code>-O2</code> to <code>-Os</code>. (TODO: #mobile says upgrading to GCC 4 is the proper fix, but no one had instructions for upgrading Scratchbox's GCC.)
Note: with GCC 3.4 you may encounter an error compiling jemalloc. To fix this, [[Mobile/Build/cs2007q3|install GCC 4]]. Or, as a workaround, edit <code>memory/jemalloc/Makefile.in</code> in the Mozilla source, and change the MODULE_OPTIMIZE_FLAGS setting from <code>-O2</code> to <code>-Os</code>.


==Running your Build==
==Running your Build==
38

edits