Blame INSTALL

Packit 64f477
Unix build instructions
Packit 64f477
-----------------------
Packit 64f477
Packit 64f477
./configure
Packit 64f477
make
Packit 64f477
make install
Packit 64f477
Packit 64f477
If you install from CVS you'll have to run ./bootstrap first
Packit 64f477
Packit 64f477
Packit 64f477
Building for win32
Packit 64f477
------------------
Packit 64f477
Packit 64f477
There are at least three ways to do it:
Packit 64f477
Packit 64f477
- natively on Windows using Microsoft VC++ and the vc++ project
Packit 64f477
  included in this distribution.
Packit 64f477
Packit 64f477
- natively on Windows using MSYS + MINGW (www.mingw.org) (MSYS is a
Packit 64f477
  minimal build environnement to compile unixish projects under
Packit 64f477
  windows. It provides all the common unix tools like sh, gmake...)
Packit 64f477
Packit 64f477
- or on Linux, using the mingw32 cross-compiler
Packit 64f477
Packit 64f477
Packit 64f477
Building using MSYS + MINGW on windows
Packit 64f477
--------------------------------------
Packit 64f477
Packit 64f477
First you will need to download and install the latest MSYS (version
Packit 64f477
1.0.7 as of now) and MINGW. The installation is really easy. Begin
Packit 64f477
with the MSYS auto-installer and once this is done, extract MINGW into
Packit 64f477
c:\msys\1.0\mingw. You also have to remember to remove the make
Packit 64f477
utility included with MINGW as it conflicts with the one from MSYS
Packit 64f477
(just rename or remove c:\msys\1.0\mingw\bin\make.exe).
Packit 64f477
Packit 64f477
http://prdownloads.sourceforge.net/mingw/MSYS-1.0.7-i686-2002.04.24-1.exe
Packit 64f477
http://prdownloads.sourceforge.net/mingw/MinGW-1.1.tar.gz
Packit 64f477
Packit 64f477
Then you can build the package using:
Packit 64f477
# ./configure
Packit 64f477
# make
Packit 64f477
Packit 64f477
Packit 64f477
Building using the mingw32 cross-compiler
Packit 64f477
-----------------------------------------
Packit 64f477
Packit 64f477
You need to install mingw32 first. For Debian GNU/Linux users, there
Packit 64f477
is a mingw32 package. Otherwise you might get it from the mingw site
Packit 64f477
at http://www.mingw.org/download.shtml.
Packit 64f477
Packit 64f477
The videolan project also keeps precompiled mingw32 binaries at
Packit 64f477
http://www.videolan.org/vlc/windows.html . If you install these,
Packit 64f477
you'll have to set your PATH accordingly to include
Packit 64f477
/usr/local/cross-tools/bin too.
Packit 64f477
Packit 64f477
The build should then proceed using something like:
Packit 64f477
# CC=i586-mingw32msvc-gcc ./configure --host=i586-mingw32msvc
Packit 64f477
# make