INSTALL file for vlc, the VideoLAN Client
-Building VideoLAN
-=================
+Configuring VideoLAN
+====================
A typical way to configure vlc is:
See `./configure --help' for more information.
-Then, run `make' to build vlc.
+Here is a shortcut to copy-paste for a complete build:
+
+ make distclean ; ./configure --prefix=/usr --enable-gnome \
+ --enable-fb --with-glide --with-ggi --with-sdl --enable-esd \
+ --enable-mga --enable-gtk --enable-qt --enable-xvideo --enable-alsa
-Here is a shortcut to copy-paste for a clean build:
+If you intend to debug stuff, you may want to disable optimizations:
- make distclean 2>/dev/null ; ./configure --prefix=/usr --enable-gnome \
+ make distclean ; ./configure --prefix=/usr --enable-gnome \
--enable-fb --with-glide --with-ggi --with-sdl --enable-esd \
- --enable-alsa --enable-mga --enable-gtk && make
+ --enable-mga --enable-gtk --enable-qt --enable-xvideo --enable-alsa \
+ --enable-debug
+
+It is also possible to cross-compile for the Win32 platform using mingw32:
+
+ make distclean ; CC=i586-mingw32msvc-gcc CFLAGS=-I/usr/i586-mingw32msvc \
+ RANLIB=i586-mingw32msvc-ranlib ./configure --host=i386-mingw32msvc \
+ --target=i386-mingw32msvc --build=i386-linux --disable-dsp \
+ --disable-gtk --disable-x11 --disable-xvideo
+
+
+Building VideoLAN
+=================
+
+Have a look at the generated Makefile.opts file, you may want to choose
+which modules will be compiled as plugins, and which ones will remain in
+the core application. The configure script tries to guess for you.
+
+Once configured, run `make' to build vlc.
Installing and running VideoLAN