I'm using Ubuntu 10.04, with the latest VLC and "contrib-20111017-win32-bin-gcc-4.4.4-runtime-3.17-only.tar.bz2". Here's my step-by-step guide:
Code: Select all
1) Install Ubuntu 10.04 (in a VirtualBox)
2) apt-get install mingw32 mingw32-binutils autoconf git
3) apt-get build-dep vlc
4) tar xjf Downloads/contrib-20111017-win32-bin-gcc-4.4.4-runtime-3.17-only.tar.bz2 -C /
5) git clone http://repo.or.cz/r/vlc.git
6) cd vlc
7) ./bootstrap
8) extras/package/win32/configure.sh --build=i386-pc-linux-gnu --host=i586-pc-mingw32msvc
Code: Select all
checking whether the gcc -std=gnu99 linker (/usr/bin/ld) supports shared
libraries... no
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... no
checking for g++ option to produce PIC... -DDLL_EXPORT -DPIC
checking if g++ PIC flag -DDLL_EXPORT -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... no
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking for i586-pc-mingw32msvc-windres... no
checking for windres... no
configure: error: VLC is based on plugins. Shared libraries cannot be
disabled.
Anybody know how to solve this? Or perhaps anyone that could point me to a working step-by-step compile guide / vm image?
--John