[MPlayer-users] how to compile mplayer for cygwin
robert rowntree
rowntreerob at yahoo.com
Fri Jul 8 21:20:48 CEST 2011
----- Original Message ----
From: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
To: "MPlayer usage questions, feature requests, bug reports"
<mplayer-users at mplayerhq.hu>
Sent: Thu, July 7, 2011 1:46:34 PM
Subject: Re: [MPlayer-users] how to compile mplayer for cygwin
On Thu, Jul 07, 2011 at 12:51:37PM -0700, robert rowntree wrote:
> i installed into cygwin the mingw64-x86 packages
> $ ./configure --cc=i686-w64-mingw32-gcc --target=athlon64-mingw32 --yasm=nasm
> Current branch master is up to date.
> Checking for gcc version ... 3.4.4
> Checking for working compiler ... yes
> Detected operating system: MINGW32
> Detected host architecture: athlon64
> Checking for cross compilation ... no
> Checking for host cc ... gcc
That obviously didn't work though since it still falls
back to using gcc instead of i686-w64-mingw32-gcc.
i looked at the details of the compile error that i got using the follow:
./configure --yasm=nasm
the error had to do with 'sprintf' and would go away if the cc switch
'-Werror-implicit-function-declaration' were to be remove from the cc
... libdvdcss\device.c
So, i ran configure and then manually updated 'config.mak'
change to the .mak was to REMOVE -Werror-implicit-function-declaration
from CFLAGS & CXXFLAGS
after doing that, i got good compile that creates 'mplayer.exe' in home dir....
_______________________________________________
MPlayer-users mailing list
MPlayer-users at mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
More information about the MPlayer-users
mailing list