Re: How to compile MPlayer using Cygwin?

Reimar Döffinger <[email protected]> Sun, 19 Dec 2010 21:59:23 +0100
Newsgroups gmane.comp.video.mplayer.cygwin
Message-ID <[email protected]>
On Sun, Dec 19, 2010 at 09:46:21PM +0100, Simon Eigeldinger wrote:
> Am 19.12.2010 20:58, schrieb Reimar D=F6ffinger:
> >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=3Dgcc-3 --extra-cfl=
ags=3D-mno-cygwin
> >--extra-ldflags=3D-mno-cygwin" and that works, but I admit I haven't tri=
ed to compile
> >as real cygwin.
> =

> So i did:
> =

> $ ./configure --cc=3Dgcc-3 --extra-cflags=3D-mno-cygwin
> --extra-ldflags=3D-mno-cygwin

Oh, sorry, I forgot you need also something like
--target=3Di686-mingw32 but this may not be optimal performance-wise
(if it works, --target=3Dpentium_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=3Dnasm then).