This is the mail archive of the
mailing list for the GCC project.
Can code compiled with g++ 3.3.1 run with earlier versions of compiler runtime environment?
- From: "Rathi, Dinesh" <drathi at informatica dot com>
- To: <gcc at gcc dot gnu dot org>
- Date: Wed, 8 Sep 2004 14:19:41 +0530
- Subject: Can code compiled with g++ 3.3.1 run with earlier versions of compiler runtime environment?
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?