[Mesa-dev] Mesa (master): st/xorg: fix build without LLVM
marcin.slusarz at gmail.com
Sun Oct 16 05:03:16 PDT 2011
On Fri, Oct 14, 2011 at 08:22:35AM +0200, Michel Dänzer wrote:
> 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?
Good question. I assumed it's needed by some mesa/gallium core, but
I checked it now and it's only needed by (new) nv50/nvc0 driver code.
More information about the mesa-dev