[Mesa-dev] Mesa (master): st/xorg: fix build without LLVM

Michel Dänzer michel at daenzer.net
Thu Oct 13 23:22:35 PDT 2011


On Don, 2011-10-13 at 15:11 -0500, Patrick Baggett wrote:
> Well, trivial answer is that Win32 uses some C/C++ runtime provided by
> Microsoft, usually something like MSVCR90.DLL (v9.0) etc. Solaris uses
> libC.so, for example. As far as I know, only systems where the GNU C/C
> ++ compiler is main system compiler (and generally therefore the GNU C
> ++ runtime) uses anything named "libstdc++". So I'd expect
> Free/Net/OpenBSD + Linux use that naming and probably not much else.
> On other commercial UNIXes, if it does exist, it is just
> for compatibility with C++ programs compiled using g++.

gcc -lsdtdc++ doesn't even work on all Linux architectures, as libdstdc
++ may require other stuff which is only pulled in implicitly by g++. 

BTW, why does st/xorg need libstdc++ at all without LLVM?


-- 
Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer


More information about the mesa-dev mailing list