1 $Id: BUILD,v 1.11 2005/10/23 01:35:59 titer Exp $
3 BUILD file for HandBrake <http://handbrake.fr/>
5 Building HandBrake with make
6 =============================
8 Step 1: get needed tools
12 There are usually included in your OS' dev tools. On BeOS/Zeta, the
13 default gcc isn't enough, gcc 2.95.3 is required.
15 + nasm (Only for x86. On Mac OS X Intel, Xcode 2.4.1 include it)
18 See Trac > Windows Compile Guide
23 The HB_BUILD and HB_VERSION are defined in a single file, the Makefile correct the values in Xcode too.
25 The file where the informations are stored is Makefile.config
30 Run `make'. This will build libhb, Handbrake and HandBrakeCLI as Universal Binary.
31 This build method use precompiled contrib libraries. Script to build those binaries are provided too.
32 All the build is handled by Xcode 2.4.1, should work on powerPC and Intel Macs.
34 # To build under Cygwin simply use the command:
37 This will download pre-compiled libaries and build the handbrake source.
39 -----------------------------------------------------------------------------------------------------
41 Building HandBrake with jam
42 =============================
44 You can build HandBrake on BeOS, MacOS X, Linux, and on Windows using Cygwin.
45 If you'd like to port it to another OS, email me (titer@m0k.org).
47 Step 1: get needed tools
51 There are usually included in your OS' dev tools. On BeOS/Zeta, the
52 default gcc isn't enough, gcc 2.95.3 is required.
55 I use 2.5rc3, earlier versions might cause issues.
56 On BeOS, you can download it at <http://www.haiku-os.org/develop.php>.
57 On OS X, you cannot use the modified jam shipped with the developer
58 tools, use the one included in the Handbrake svn checkout instead.
59 On Cygwin, get the jam source from
60 http://public.perforce.com/public/jam/index.html,
61 compile it with gcc in Cygwin, and put the jam executable somewhere on
64 + nasm (Only for x86. On Mac OS X Intel, Xcode 2.4.1 include it)
66 + libtool, autoconf, automake
67 To build libdca (the DTS audio extraction library) on Mac OS X via jam, you'll
68 need to update the default Mac OS X versions of libtool, autoconf and automake.
69 Compilation has been seen to work with libtool and libtool-shlibs v1.5.22-1000,
70 autoconf v2.60-4, and automake v1.9.6-3. You can update these tools using Fink.
71 Download the Fink 0.8.1 Binary Installer for your platform (PowerPC or Intel)
72 from http://www.finkproject.org/download/index.php?phpLang=en and install Fink
73 using the installer. If you want to use a GUI to run Fink, you can install
74 FinkCommander. Download the FinkCommander 0.5.4 installer from
75 http://finkcommander.sourceforge.net/ and install from the disk image. You can
76 install libtool, libtool-shlibs, autoconf and automake using FinkCommander.
79 See Trac > Windows Compile Guide
84 Run `./configure && jam'. This will build every library HandBrake
85 requires, then HandBrake itself.