-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 --with-ffmpeg-faac \
- --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-livedotcom --with-livedotcom-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-debug
-
-If you are cross-compiling with our gcc-3.3.1 package, you can use something
-along those lines:
-
- ./bootstrap && \
- PATH=/usr/local/mingw/bin:$PATH \
- CPPFLAGS=-I/usr/win32/include \
- 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 --with-ffmpeg-faac \
- --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-livedotcom --with-livedotcom-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-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 --with-ffmpeg-faac \
- --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-livedotcom --with-livedotcom-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-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 --with-ffmpeg-faac \
- --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-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 \
- --disable-mkv \
- --enable-debug