root/trunk/liba52/INSTALL

Revision 1, 1.8 kB (checked in by gbooker, 3 years ago)

Initial Import

Line 
1 Unix build instructions
2 -----------------------
3
4 ./configure
5 make
6 make install
7
8 If you install from CVS you'll have to run ./bootstrap first
9
10
11 Building for win32
12 ------------------
13
14 There are at least three ways to do it:
15
16 - natively on Windows using Microsoft VC++ and the vc++ project
17   included in this distribution.
18
19 - natively on Windows using MSYS + MINGW (www.mingw.org) (MSYS is a
20   minimal build environnement to compile unixish projects under
21   windows. It provides all the common unix tools like sh, gmake...)
22
23 - or on Linux, using the mingw32 cross-compiler
24
25
26 Building using MSYS + MINGW on windows
27 --------------------------------------
28
29 First you will need to download and install the latest MSYS (version
30 1.0.7 as of now) and MINGW. The installation is really easy. Begin
31 with the MSYS auto-installer and once this is done, extract MINGW into
32 c:\msys\1.0\mingw. You also have to remember to remove the make
33 utility included with MINGW as it conflicts with the one from MSYS
34 (just rename or remove c:\msys\1.0\mingw\bin\make.exe).
35
36 http://prdownloads.sourceforge.net/mingw/MSYS-1.0.7-i686-2002.04.24-1.exe
37 http://prdownloads.sourceforge.net/mingw/MinGW-1.1.tar.gz
38
39 Then you can build the package using:
40 # ./configure
41 # make
42
43
44 Building using the mingw32 cross-compiler
45 -----------------------------------------
46
47 You need to install mingw32 first. For Debian GNU/Linux users, there
48 is a mingw32 package. Otherwise you might get it from the mingw site
49 at http://www.mingw.org/download.shtml.
50
51 The videolan project also keeps precompiled mingw32 binaries at
52 http://www.videolan.org/vlc/windows.html . If you install these,
53 you'll have to set your PATH accordingly to include
54 /usr/local/cross-tools/bin too.
55
56 The build should then proceed using something like:
57 # CC=i586-mingw32msvc-gcc ./configure --host=i586-mingw32msvc
58 # make
Note: See TracBrowser for help on using the browser.