On Monday 05 January 2009 17:23:40 Ian Romanick wrote:
> 2. Linking with C++ libraries causes problems with applications.
>
> So far, a fair portion of my GLSL compiler work has been re-creating a
> C++-like object heirarchy and management system.  Frankly, the code
> would be much better (for all definitions of better) if I could just
> use C++.
>
> Has issue #2 been resolved?  I recall that, for example, if ID's
> Quake3 binary dynamically linked with a library that dynamically
> linked with a different version of libstdc++, it would explode.  Is
> that still the case?  If this is still a problem, will it affect LLVM
> usage in Mesa?

LLVM is a bunch of static libs so we can easily impose stdc++ version on them 
that Mesa would be fine with. So LLVM will be ok.
If different versions of stdc++ are a worry, I'd suggest writing a super simple 
GL app that links to libstdc++5 and then link GL to libstdc++6 and seeing what 
happens (even if it burns I honestly think that a disclaimer saying that 10 
year old apps that link to libstdc++5 won't work with newest Mesa without 
recompiling is not a huge issue)
Oh, and from what you wrote it sounds like, at least right now, you don't need 
stdc++.

z


------------------------------------------------------------------------------
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to