[MPlayer-dev-eng] [PATCH] Allow to use live555 with other compilers than /usr/bin/g++

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Jun 8 10:42:26 CEST 2007


Bernd Ernesti <mplayer-dev-eng <at> lists.veego.de> writes:

> > > I think there should rather be an option --cxx or --c++, dunno what the
> > > usual default is.  Can gcc compile C++ even when it is called as gcc and
> > > not g++?
> > 
> > Yes, both gcc and icc: The tests in configure already use cc.
> 
> They may compile C++ code, but I thought they would add needed c++ libraries
> only if they were called with g++.
> 
> http://www.delorie.com/djgpp/v2faq/faq8_8.html

This only concerns linking, which was and is done in mplayer with cc (or the
given compiler) anyway, using -lstdcxx.

What I changed is that now *.cpp are compiled with the same compiler as the rest
of mplayer.

Patch applied

Carl Eugen





More information about the MPlayer-dev-eng mailing list