g++ and libstdc++

Jonathan Wakely jwakely.gcc@gmail.com
Mon Jan 10 23:18:00 GMT 2011

On 10 January 2011 21:43, Deol, Mandeep wrote:
> Thanks Jonathan.
> Just a follow up.
> "more strictly-confirming 4.4.5 compiler will complain about"
> Does 4.4.5 have a dependency(recommendation) on any particular version of libstdc++?
> If I had built 4.4.5 as a native compiler on my build machine to replace the old version; would it have updated my libstdc++ installed at /usr/lib?
> I am really having a lot of trouble understading the relationship between g++ and libstdc++.

It's not difficult, they are developed and released together.  You
need to use the version of libstdc++ that comes with the version of
gcc you're using.

More information about the Gcc-help mailing list