I have some compatibility concerns around the building of a C++ library with a modern version of GCC 4.4.x/4.5.x whereby clients on an older version, say 3.4.x/4.1.x. One solution which has been suggested is to compile the object files and distribute these. Clients can then link using any version of GCC and the relevant ABI. Some questions:
- Is this correct?
- Should I statically link to avoid libstdc++ compatibility issues?
- Is this unneccessary (I heard gcc 3.4 onwards is forwardly compatible)?
Cheers, Graeme