ref: 745ba0b4f6cdf773adecab0c79e09cceeb5ca982
parent: 2af9a1e3d10677c2aca1d798b2df4dd8044c258b
author: Jean-Baptiste Kempf <jb@videolan.org>
date: Wed Feb 27 06:08:38 EST 2013
Simplify INSTALL document
--- a/INSTALL
+++ b/INSTALL
@@ -38,34 +38,12 @@
You have two alternatives to build libdvdcss for Win32:
-- natively on Windows, using MSYS + MinGW (www.mingw.org):
+- on Linux, using the mingw.org or mingw-w64 cross-compilers.
- (MSYS is a minimal build environment to compile unixish projects under
- Windows. It provides all the common Unix tools like sh, gmake...)
+ If you are running Debian, there is are mingw32 packages you can use.
- You will need to download and install the latest MSYS (version 1.0.7 as
- of now) and MINGW.
- The installation is really easy. Begin with the MSYS auto-installer and once
- this is done, extract MINGW into c:\msys\1.0\mingw. You also have to remember
- to remove the make utility included with MINGW as it conflicts with the one
- from MSYS (just rename or remove c:\msys\1.0\mingw\bin\make.exe).
-
- http://www.mingw.org/download.shtml
- http://prdownloads.sourceforge.net/mingw/MSYS-1.0.7-i686-2002.04.24-1.exe
- http://prdownloads.sourceforge.net/mingw/MinGW-1.1.tar.gz
-
- To build libdvdcss you just have to run the following commands:
- ./configure
- make
-
-- or on Linux, using the mingw32 cross-compiler:
-
- You can find a mingw32 cross-compiler on the VideoLAN web site:
- http://www.videolan.org/vlc/windows.html
- Or if you are running Debian, there is a mingw32 package you can use.
-
If you are cross-compiling from the Debian package, you can use the following
- commands:
+ commands, for example:
./configure --host=i586-mingw32msvc --target=i586-mingw32msvc \
--build=i386-linux
@@ -72,12 +50,15 @@
make
- If you are cross-compiling using the mingw32 package provided by
- www.videolan.org, you have to use something along those lines:
+- natively on Windows, using MSYS + MinGW (www.mingw.org):
- CC=/usr/local/cross-tools/bin/i586-mingw32msvc-gcc \
- PATH=/usr/local/cross-tools/bin:$PATH \
- ./configure --host=i586-mingw32msvc --target=i586-mingw32msvc \
- --build=i386-linux
+ (MSYS is a minimal build environment to compile unixish projects under
+ Windows. It provides all the common Unix tools like sh, gmake...)
- PATH=/usr/local/cross-tools/bin:$PATH make
+ You will need to download and install the latest MSYS and MINGW.
+
+ To build libdvdcss you just have to run the following commands:
+ ./configure
+ make
+
+ More on MSys on our wiki: http://wiki.videolan.org/Win32CompileMSYS