-If you are cross-compiling from Debian, you can use something
-along those lines:
-
- ./bootstrap && \
- CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
- LDFLAGS=-L/usr/win32/lib \
- CC=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++ \
- ./configure --host=i586-mingw32msvc --build=i386-linux \
- --disable-sdl --disable-gtk \
- --enable-nls \
- --enable-ffmpeg --with-ffmpeg-mp3lame \
- --enable-faad \
- --enable-flac \
- --enable-theora \
- --with-wx-config-path=/usr/win32/bin \
- --with-freetype-config-path=/usr/win32/bin \
- --enable-debug
-
-If you are using cygwin, you can build VLC with or without the unix emulation
-layer (without is usually better). To build without the emulaion layer, use
-something like this:
- ./bootstrap && \
- 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-sdl --disable-gtk \
- --enable-nls \
- --enable-ffmpeg --with-ffmpeg-mp3lame \
- --enable-faad \
- --enable-flac \
- --enable-theora \
- --with-wx-config-path=/usr/win32/bin \
- --with-freetype-config-path=/usr/win32/bin \
- --enable-debug
-
-If you want to use the emulation layer, then just omit the CC="gcc -mno-cygwin"
-CXX="g++ -mno-cygwin" line.
-
-If you are compiling with MSYS/MINGW, then you can use something along those
-lines:
- ./bootstrap && \
- CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
- LDFLAGS=-L/usr/win32/lib \
- ./configure \
- --disable-sdl --disable-gtk \
- --enable-nls \
- --enable-ffmpeg --with-ffmpeg-mp3lame \
- --enable-faad \
- --enable-flac \
- --enable-theora \
- --with-wx-config-path=/usr/win32/bin \
- --with-freetype-config-path=/usr/win32/bin \
- --enable-debug
+If you are cross-compiling from Debian, you can use this:
+
+ sh extras/package/win32/configure-mingw.sh
+
+
+If you are compiling with MSYS/MINGW, then you can use this:
+
+ sh extras/package/win32/configure-msys.sh
+
+
+If you are using cygwin, you should build VLC without the POSIX emulation layer.
+Use this:
+
+ sh extras/package/win32/configure-cygwin.sh