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

Rathi, Dinesh drathi@informatica.com
Wed Sep 8 08:50:00 GMT 2004


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?

Thanks
Dinesh



More information about the Gcc mailing list