[MPlayer-cygwin] How to compile MPlayer using Cygwin?

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Dec 19 23:39:10 CET 2010


On Sun, Dec 19, 2010 at 09:59:23PM +0100, Reimar Döffinger wrote:
> On Sun, Dec 19, 2010 at 09:46:21PM +0100, Simon Eigeldinger wrote:
> > Am 19.12.2010 20:58, schrieb Reimar Döffinger:
> > >On Sun, Dec 19, 2010 at 02:52:49PM -0500, compn wrote:
> > >>On Sun, 19 Dec 2010 11:14:57 +0100, Simon Eigeldinger wrote:
> > >>>Hello,
> > >>>
> > >>>I am new in that list and my question has been asked i guess loads of times.
> > >>>
> > >>>How do I compile Mplayer from SVN with current versions of cygwin?
> > >>
> > >>paste the make output so we can figure out whats wrong.
> > >>basically something broke cygwin (iirc) a while back and no one cared to
> > >>fix it.
> > >
> > >Well, I compile on cygwin using something like "--cc=gcc-3 --extra-cflags=-mno-cygwin
> > >--extra-ldflags=-mno-cygwin" and that works, but I admit I haven't tried to compile
> > >as real cygwin.
> > 
> > So i did:
> > 
> > $ ./configure --cc=gcc-3 --extra-cflags=-mno-cygwin
> > --extra-ldflags=-mno-cygwin
> 
> Oh, sorry, I forgot you need also something like
> --target=i686-mingw32 but this may not be optimal performance-wise
> (if it works, --target=pentium_m-mingw32 or similar would be better).
> And you definitely should use either yasm or nasm (nasm exists
> as a cygwin package, but you need to use --yasm=nasm then).

And just
./configure --yasm=nasm
should now work again in cygwin.
Internal libfaad will no longer be compiled that way, but you
shouldn't need it anymore anyway I hope.


More information about the MPlayer-cygwin mailing list