[MPlayer-cygwin] How to build mplayer/mencoder with cygwin static linked?

Joseph Miller joseph at tidetamerboatlifts.com
Thu Apr 28 16:46:36 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Xie Bo,
You should build it for mingw.  Make sure that your Cygwin install has MinGW 
installed.  Then configure with:

./configure --target=i586-MINGW32 -cc="gcc -mno-cygwin" --disable-vidix \
  --disable-fastmemcpy --disable-x11 --disable-termcap

make should generate the .exe that depends on mgwz.dll .  No need to do a make 
install, just copy the mencoder.exe, mplayer.exe, and mgwz.dll to the 
directoy that you want to run them out of.  As to whether or not you can 
statically link to mgwz.dll, I do not know.

- -Joseph

On Thursday 28 April 2005 6:15 am, Bo Xie wrote:
> Hi,
>
>    I notice that my mplayer.exe built by cygwin depends on
> cygesd-0.dll etc. Can I build it statically linked with cygesd-0.dll
> etc?
>
>    Thank you!
>
> Best Regards,
> Xie Bo
>
> _______________________________________________
> MPlayer-cygwin mailing list
> MPlayer-cygwin at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-cygwin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCcPdOmXZROF+EADURAgoCAJwP6VuuU0XbHhZ0UkzjY1wkWPKE2ACeN/vE
YqnwYxZifpGjFq1iwVUKBQM=
=qXme
-----END PGP SIGNATURE-----




More information about the MPlayer-cygwin mailing list