A simple question - is there any way to make the g++
linker to link with a specific libstdc++
library version? I didn\'t find anything useful in th
Here's the ABI versions table; the default value for the -fabi-version
switch changed from 1 to 2 at the same time g++ introduced libstdc++.so.6 with 3.4. This means that to link against the older libstdc++ library you would need to
-fabi-version=1
otherwise you run the risk of ABI incompatibilities. I can't tell you precisely what the changes were but in general it's best to try and keep all C++ code you have compiled with the same compiler version.
Assuming you don't want to try and hack things togther like this I think you have two choices: