- --with-gtk-config-path=/usr/local/gtk-win32/bin \
- --with-sdl-config-path=/usr/local/SDL-1.2.3-win32/i386-mingw32msvc/bin \
- --with-directx=/usr/local/dxheaders \
- --with-dvdcss-tree=../libdvdcss-win
-
-If you are cross-compiling using the mingw32 package provided by
-www.videolan.org, you have to use something along those lines:
-
- ./bootstrap; \
- CC=i586-mingw32msvc-gcc \
- PATH=/usr/local/cross-tools/bin:$PATH \
- ./configure --host=i586-mingw32msvc --build=i386-linux \
- --with-gtk-config-path=/usr/local/gtk-win32/bin \
- --with-sdl-config-path=/usr/local/SDL-1.2.3-win32/i386-mingw32msvc/bin \
- --with-directx=/usr/local/dxheaders \
- --with-dvdcss-tree=../libdvdcss-win
+ --disable-gtk \
+ --enable-nls --enable-sdl --with-sdl-config-path=/usr/win32/bin \
+ --enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \
+ --with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \
+ --with-wx-config-path=/usr/win32/bin \
+ --with-freetype-config-path=/usr/win32/bin \
+ --with-fribidi-config-path=/usr/win32/bin \
+ --enable-live555 --with-live555-tree=/usr/win32/live.com \
+ --enable-caca --with-caca-config-path=/usr/win32/bin \
+ --with-xml2-config-path=/usr/win32/bin \
+ --with-dvdnav-config-path=/usr/win32/bin \
+ --disable-cddax --disable-vcdx --enable-goom \
+ --enable-twolame --enable-dvdread \
+ --enable-debug
+
+If you are using cygwin, you can build VLC with or without the POSIX
+emulation layer. Without is usually better and with POSIX emulation
+hasn't been tested in about a year or so. So to build without the
+emulation layer, use something like this:
+
+ ./bootstrap && \
+ PATH=/usr/win32/bin:$PATH \
+ PKG_CONFIG_PATH=/usr/win32/lib/pkgconfig \
+ CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
+ LDFLAGS=-L/usr/win32/lib \
+ CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
+ ./configure \
+ --disable-gtk \
+ --enable-nls --enable-sdl --with-sdl-config-path=/usr/win32/bin \
+ --enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \
+ --with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \
+ --with-wx-config-path=/usr/win32/bin \
+ --with-freetype-config-path=/usr/win32/bin \
+ --with-fribidi-config-path=/usr/win32/bin \
+ --enable-live555 --with-live555-tree=/usr/win32/live.com \
+ --enable-caca --with-caca-config-path=/usr/win32/bin \
+ --with-xml2-config-path=/usr/win32/bin \
+ --with-dvdnav-config-path=/usr/win32/bin \
+ --disable-cddax --disable-vcdx --enable-goom \
+ --enable-twolame --enable-dvdread \
+ --enable-debug