1 $Id: BUILD,v 1.11 2005/10/23 01:35:59 titer Exp $
3 BUILD file for HandBrake <http://handbrake.m0k.org/>
5 Building HandBrake with jam
6 ===========================
8 You can build HandBrake on BeOS, MacOS X, Linux, and on Windows using Cygwin.
9 If you'd like to port it to another OS, email me (titer@m0k.org).
11 Step 1: get needed tools
12 ========================
15 There are usually included in your OS' dev tools. On BeOS/Zeta, the
16 default gcc isn't enough, gcc 2.95.3 is required.
18 I use 2.5rc3, earlier versions might cause issues.
19 On BeOS, you can download it at <http://www.haiku-os.org/develop.php>.
20 On OS X, you cannot use the modified jam shipped with the developer
21 tools, use this one instead:
22 <http://download.m0k.org/handbrake/jam-2.5rc3-OSX.zip>.
23 On Cygwin, get the jam source from
24 http://public.perforce.com/public/jam/index.html,
25 compile it with gcc in Cygwin, and put the jam executable somewhere on
27 + nasm (Only for x86. On Mac OS X Intel, Xcode 2.4.1 include it)
30 There are a couple extra things required to make the code build for Cygwin.
31 Make sure you have /bin and /usr/bin on your path *first*, before
32 the Windows paths. Otherwise the Cygwin find.exe won't be used, and
34 Also, I have not tried to build this with MinGW, I've only built it with
35 the Cygwin environment, so you should build with Cygwin gcc and dev tools.
36 Unfortunately this means you need to have cygwin1.dll around to run the
37 HBTest.exe program, but that's the way it is for now, until I get time
38 to try building it with MinGW. If you want to try making it work with
39 MinGW, then go for it!
45 Run `./configure && jam'. This will build every library HandBrake
46 requires, then HandBrake itself.
48 -----------------------------------------------------------------------------------------------------
50 Building HandBrake with make
51 ============================
53 Step 1: get needed tools
54 ========================
57 There are usually included in your OS' dev tools. On BeOS/Zeta, the
58 default gcc isn't enough, gcc 2.95.3 is required.
60 + nasm (Only for x86. On Mac OS X Intel, Xcode 2.4.1 include it)
63 There are a couple extra things required to make the code build for Cygwin.
64 Make sure you have /bin and /usr/bin on your path *first*, before
65 the Windows paths. Otherwise the Cygwin find.exe won't be used, and
67 Also, I have not tried to build this with MinGW, I've only built it with
68 the Cygwin environment, so you should build with Cygwin gcc and dev tools.
69 Unfortunately this means you need to have cygwin1.dll around to run the
70 HBTest.exe program, but that's the way it is for now, until I get time
71 to try building it with MinGW. If you want to try making it work with
72 MinGW, then go for it!
80 The HB_BUILD and HB_VERSION are defined in a single file, the Makefile correct the values in Xcode too.
82 The file where the informations are stored is Makefile.config
87 Run `make'. This will build libmediafork, MediaFork and MediaForkCLI as Universal Binary.
88 This build method use precompiled contrib libraries. Script to build those binaries are provided too.
89 All the build is handled by Xcode 2.4.1, should work on powerPC and Intel Macs.