Changes

Jump to: navigation, search

User:Jamesboston

170 bytes removed, 16:55, 2 March 2010
m
Building Firefox
http://www.microsoft.com/express/download/
If you paid for the Professional version of Visual Studio you can skip this step. But if you are using an express version, you need to install the Windows Server 2003 Platform SDK in order to get some headers (atlbase.h to be specific) included in the Professional version:
http://www.microsoft.com/downloads/details.aspx?FamilyId=0BAF2B35-C656-4969-ACE8-E4C0C0716ADB&displaylang=en
''(The example above is for Visual C++ 2008 Express. The name of the bat file you use should match the directory that Visual Studio is installed in. For instance, VS2005 uses start-msvc8.bat)''
 
''Special note: You might get an error saying you are targeting the wrong SDK. Try deleting your obj-ff directory if you have one.''
=== Linux ===
You should have [http://developer.apple.com/TOOLS/Xcode/ Xcode] installed. You don't need to use Xcode for editing source files, but you will need the developer SDK that comes with it.
In order to build Firefox you will need something called MacPorts which can be dowloaded downloaded from here:
http://www.macports.org/install.php
. $topsrcdir/browser/config/mozconfig
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@
# Comment the next 3 2 lines for non-debug builds
ac_add_options --disable-optimize
ac_add_options --enable-debug
ac_add_options --disable-libxul
If you are using a multi-core computer for building, you can try adding a flag to speed up compile times. Use a value of ''((# of cores)*2)+1'' (ie. five for two cores):
For OS X (Leopard) add:
ac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.5.sdk
 
Visual Studio 2008 users may also need to add one or more of the following to .mozconfig:
ac_add_options --disable-xpconnect-idispatch
ac_add_options --disable-activex
ac_add_options --disable-activex-scripting
ac_add_options --disable-accessibility
ac_add_options --disable-parental-controls
== Getting the source ==

Navigation menu