Re: How to compile MPlayer using Cygwin?
Reimar Döffinger <[email protected]> Sun, 19 Dec 2010 23:39:10 +0100
| Newsgroups | gmane.comp.video.mplayer.cygwin |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Dec 19, 2010 at 09:59:23PM +0100, Reimar D=F6ffinger wrote: > 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 o= f 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-c= flags=3D-mno-cygwin > > >--extra-ldflags=3D-mno-cygwin" and that works, but I admit I haven't t= ried 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). And just ./configure --yasm=3Dnasm 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.