Can code compiled with g++ 3.3.1 run with earlier versions of compiler runtime environment?

Nathan Sidwell nathan@codesourcery.com
Wed Sep 8 14:11:00 GMT 2004


Rathi, Dinesh wrote:
> Hi
> 	I have an application built with g++ 3.3.1 (Redhat Linux) and I was trying to run it on a machine with g++ 2.9.x installed. I get an error related to libstdc++.so.5 that the library was not found. I wanted to know if I can run a code compiled using g++ 3.3.1 on a machine with a an earlier compiler ? Why does the executable has to work with libstdc++.so.5, can it work with libstdc++.so.3 etc?
> 
The C++ ABI was reimplemented at G++ 3.0. C++ object code from pre and post
3.0 will not interoperate.

nathan

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk




More information about the Gcc mailing list