[MPlayer-dev-eng] configure and unsupported -rdynamic flag onmingw

Sascha Sommer saschasommer at freenet.de
Thu Apr 8 16:54:36 CEST 2004


> On Thu, Apr 08, 2004 at 01:00:02AM +0200, Sascha Sommer wrote:
> > Hi,
> > on mingw I always get a
> > gcc.exe: unrecognized option `-rdynamic
> > at the end of the linking stage o
> >
> > So I checked configure from where this flag might come from
> >
> > In line 5770 in configure I can see the following:
> >
> > # Dynamic linking flags
> > # (FIXME: 'echocheck "dynamic linking"' above and modify here
accordingly)
> > _ld_dl_dynamic=''
> > bsd && _ld_dl_dynamic='-rdynamic'
> > test "$_xanim" = yes && _ld_dl_dynamic='-rdynamic'
> > test "$_real" = yes && _ld_dl_dynamic='-rdynamic'
> >
> > Shouldn't it be test bsd ?
>
> I presume -rdynamic is needed for the loader on unix-like systems
> and on bsd's even without loader.  On mingw and cygwin, it's not
> needed, but it also doesn't break anything.  You can ignore it.
>

I was wrong the test "$_real" line is causing problems.
It should be
test "$_real" = yes && not mingw32 && _ld_dl_dynamic='-rdynamic'

Sascha




More information about the MPlayer-dev-eng mailing list