Firefox/Tegra/Build Notes: Difference between revisions

Jump to navigation Jump to search
Line 30: Line 30:
= Set up a mozconfig =
= Set up a mozconfig =


The mozilla build system uses a mozconfig file to avoid having to pass many options to configure on the command line.
The mozilla build system uses a mozconfig file to avoid having to pass many options to configure on the command line. Here's a sample mozconfig that I use for building:
 
ac_add_options --enable-application=browser
# Either --enable-debug or --enable-optimize should be specified;
# --enable-debugger-info-mobules ensures that debugging symbols are available
# even with an optimized build.
#ac_add_options --enable-debug
ac_add_options --enable-optimize
ac_add_options --enable-debugger-info-modules
ac_add_options --enable-libxul
# Note that you need to give both CFLAGS and CXXFLAGS
CFLAGS="-QRarch6 -QRfpe-"
CXXFLAGS="-QRarch6 -QRfpe-"
# No need to build the tests for now
ac_add_options --disable-tests
# Disable some things that aren't necessary right now;
# these might or might not actually work should they be needed.
ac_add_options --disable-javaxpcom
ac_add_options --disable-accessibility
ac_add_options --disable-printing
ac_add_options --disable-oji
ac_add_options --disable-plugins
ac_add_options --disable-vista-sdk-requirements
ac_add_options --disable-updater
ac_add_options --disable-installer
ac_add_options --disable-xpinstall
ac_add_options --enable-image-decoders="png gif jpeg"
ac_add_options --disable-dbm
ac_add_options --disable-spellcheck
ac_add_options --disable-windows-mobile-components
CROSS_COMPILE=1
MIDL=/c/Program\ Files/Microsoft\ Visual\ Studio\ 9/VC/ce/bin/x86_arm/midl.exe
ac_add_options --target=arm-wince
ac_add_options --enable-win32-target=WINCE
ac_add_options --enable-default-toolkit=cairo-windows
ac_add_options --with-wince-sdk="c:/program files/windows ce tools/wce500/standardsdk_500"
Confirmed users, Bureaucrats and Sysops emeriti
792

edits

Navigation menu