diff options
author | Sean Bartell <wingedtachikoma@gmail.com> | 2011-06-25 21:32:25 -0400 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2012-04-25 22:13:20 +0200 |
commit | f40bfc9267b13b54e6379dfe7539447662879d24 (patch) | |
tree | 9b20069d5e62809ff434061ad730096836f916f2 /lib/rbcodec/codecs/liba52/INSTALL | |
parent | a0009907de7a0107d49040d8a180f140e2eff299 (diff) | |
download | rockbox-f40bfc9267b13b54e6379dfe7539447662879d24.tar.gz rockbox-f40bfc9267b13b54e6379dfe7539447662879d24.zip |
Add codecs to librbcodec.
Change-Id: Id7f4717d51ed02d67cb9f9cb3c0ada4a81843f97
Reviewed-on: http://gerrit.rockbox.org/137
Reviewed-by: Nils Wallménius <nils@rockbox.org>
Tested-by: Nils Wallménius <nils@rockbox.org>
Diffstat (limited to 'lib/rbcodec/codecs/liba52/INSTALL')
-rw-r--r-- | lib/rbcodec/codecs/liba52/INSTALL | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/lib/rbcodec/codecs/liba52/INSTALL b/lib/rbcodec/codecs/liba52/INSTALL new file mode 100644 index 0000000000..30a07fecff --- /dev/null +++ b/lib/rbcodec/codecs/liba52/INSTALL | |||
@@ -0,0 +1,58 @@ | |||
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 | ||