[vlc-devel] Re: help compiling win32 plugin

Gildas Bazin gbazin at netcourrier.com
Fri Oct 11 11:45:29 CEST 2002


On Wednesday 09 October 2002 18:19, Graeme Ogilvie wrote:
> Well, I've made a bit of progress because my bootstrap process seems to
> work fine (at least it doesn't hang).
> 
> It then starts to run the configure script, but gets stuck at the C
> compiler output - not sure if this is due to the automake problem or
> not.
> 
> configure: loading site script /etc/config.site
> checking build system type... i386-pc-linux-gnu
> checking host system type... i586-pc-mingw32msvc
> checking target system type... i586-pc-mingw32msvc
> checking for a BSD-compatible install... /bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets ${MAKE}... yes
> checking for i586-mingw32msvc-strip... i586-mingw32msvc-strip
> checking for i586-mingw32msvc-gcc... i586-mingw32msvc-gcc
> checking for C compiler default output... configure: error: C compiler
> cannot create executables
> 

Errr, I feel stupid not to have seen this before but I know now where the 
problem comes from!

You are not passing the right arguments to the configure script.
> checking build system type... i386-pc-linux-gnu
> checking host system type... i586-pc-mingw32msvc

When compiling natively on windows (using MSYS+MINGW), you need to use the 
following commands as documented in the INSTALL.win32 file:
  ./configure \
  --with-gtk-config-path=/c/dev/gtk-win32/bin \
  --with-sdl-config-path=/c/dev/SDL-1.2.3-win32/i386-mingw32msvc/bin \
  --with-directx=/c/dev/dxheaders \
  --with-dvdcss-tree=../libdvdcss-win

You must not use the --host=i586-mingw32msvc --build=i386-linux arguments!

Hope this helps,

--
Gildas
-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list