Thanks all help, I have successfully built the Win32 32bit VLC by the following steps.
Please also refer to viewtopic.php?f=32&t=101489#p342496 and http://wiki.videolan.org/Win32Compile
1. Install ubuntu-12.10
2. $> sudo apt-get install ua5.1 libtool automake autoconf autopoint make gettext pkg-config git subversion cmake cvs zip p7zip-full nsis bzip2
3. $> sudo apt-get install gcc-mingw-w64 g++-mingw-w64
4. $> sudo dpkg -i mingw-w64-i686-dev_3.0~svn5408-1_all.deb
- You must use mingw-w64 3.0 or later (Please note that the binary size is about 7M)
- http://packages.debian.org/experimental ... 4-i686-dev
5. $> git clone git://git.videolan.org/vlc.git vlc
6. $> cd vlc
7. $> mkdir -p contrib/win32
$> cd contrib/win32
$> ../bootstrap --host=i686-w64-mingw32
$> make prebuilt
8. $> cd /usr/bin
$> sudo ln -s g++-4.6 g++
- Create symbolic link for g++, which will be used in Qt4 compilation
9. Back to your vlc source directory
10. $> cd contrib/win32
$> make .qt4
- Remake the Qt4 since the attached prebuilt is too old.
11. $> cd vlc/contrib/i686-w64-mingw32/bin
$> rm -rf moc uic rcc
12. Back to your vlc source directory
13. $> ./bootstrap
14. $> mkdir win32 && cd win32
15. $> ../extras/package/win32/configure.sh --host=i686-w64-mingw32
16. $> make
- Compile the vlc source codes
17. $> make package-win32
- Generate the package for vlc installation